1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
Commit graph

24 commits

Author SHA1 Message Date
Jeff Casimir
5938954616 Update template to generate 'decorates' line 2011-07-23 08:44:59 -07:00
Jeff Casimir
577277b6bd Added the ability to automatically do lookups by passing an integer ID to .new 2011-07-23 08:39:48 -07:00
Jeff Casimir
9e8f1a3a02 Implement forced proxy for to_param 2011-07-23 08:12:26 -07:00
Jeff Casimir
cadac79498 Made .model public 2011-07-23 07:48:14 -07:00
Jeff Casimir
5dedd370e6 Add private accessor .model method 2011-07-23 07:33:08 -07:00
Jeff Casimir
2ed64ce56f Refactored tests to work through helper accessor and implemented to_model to feed form_for 2011-07-23 06:59:09 -07:00
Jeff Casimir
6c78b6cca6 Sleepy cowboy coding on the train 2011-07-13 01:00:10 -04:00
Jeff Casimir
40943761fc Don't re-define local methods 2011-07-12 08:11:55 -04:00
Jeff Casimir
d591716c2a Don't re-define local methods 2011-07-12 07:50:30 -04:00
Jeff Casimir
d50aefe2f8 Handle Rails' use of class.model_name to resolve polymorphic paths 2011-07-11 19:58:12 -04:00
Jeff Casimir
b537f98ef5 Hack to cover Rails' polymorphic paths 2011-07-11 19:01:13 -04:00
Jeff Casimir
ea9ed66866 Hack to force Rails to run query, not give a proxy object 2011-07-11 18:50:23 -04:00
Jeff Casimir
9b325c999a Stripping down to basic decorations 2011-07-11 18:36:59 -04:00
Jeff Casimir
a830adbdc1 Trying to proxy user-created helpers 2011-07-11 15:21:49 -04:00
Jeff Casimir
eafd4cf4dd Pulling ApplicationHelper 2011-07-11 15:03:25 -04:00
Jeff Casimir
7f7b010f7c Version bump 2011-07-10 21:47:58 -04:00
Jeff Casimir
6a6f7e68da Pulling larger example classes out into spec/samples 2011-07-10 21:46:30 -04:00
Jeff Casimir
235dfd5933 Fixed the wrapping of subject methods that use blocks 2011-07-01 15:50:57 -04:00
Jeff Casimir
b4f632b4a6 Adding in focus on view-layer data filtering based on current_user 2011-06-30 22:06:15 -04:00
Jeff Casimir
4b9ac2de32 Unwrapped method_missing from array 2011-06-30 18:59:14 -04:00
Jeff Casimir
d053510bb6 update generated model's instructions to use allows/denies 2011-06-30 18:46:09 -04:00
Jeff Casimir
2c57049832 Change excludes to denies 2011-06-30 18:45:37 -04:00
Jeff Casimir
c1b4747e51 Typo in generator template 2011-06-30 18:23:19 -04:00
Jeff Casimir
a3804b0662 Bring over generator structure from rails_decorators 2011-06-30 18:19:48 -04:00