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

15 commits

Author SHA1 Message Date
Jeff Casimir
4f3bf6ebb7 Proxy class methods using method_missing 2011-10-08 22:47:08 -04:00
Jeff Casimir
e350a9a85d Simplified structure after testing in an actual app 2011-10-08 01:37:33 -04:00
Jeff Casimir
39fc5c9513 Rewrote technique for getting view_context/helper access 2011-10-08 01:06:19 -04:00
Jeff Casimir
1f4c1e705d Merge pull request #25 from edtsech/block
Ability to pass block to decorator method
2011-10-03 13:31:35 -07:00
Jeff Casimir
6521360f22 Merge pull request #29 from michaelfairley/method_missing
Changing from dynamic method generation to use method missing for performance improvement.
2011-10-03 13:29:22 -07:00
Michael Fairley
178399414b Remove the fake ActiveRecord's method_missing 2011-09-29 12:03:33 -07:00
Michael Fairley
58823a3d49 Fix typo 2011-09-29 11:57:49 -07:00
Eduard Tsech
16f69ee07c Ability to pass block to decorator method 2011-09-18 19:10:28 +02:00
Jeff Casimir
c70045aeac Clean up protections with regards to method_missing in AR circumventing denied methods 2011-07-23 10:15:53 -07:00
Jeff Casimir
605332ce76 Implement automatic finding using .find with integer or string 2011-07-23 09:16:52 -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
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
6a6f7e68da Pulling larger example classes out into spec/samples 2011-07-10 21:46:30 -04:00