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

21 commits

Author SHA1 Message Date
Jeff Casimir
a49907fb2c Merge branch 'master' of https://github.com/theozaurus/draper 2011-08-16 21:08:52 -07:00
Jeff Casimir
67feb3acbd Merge pull request #13 from leshill/context
Adding optional context to decoration initialization
2011-08-16 21:06:23 -07:00
Theo Cushion
2614037c74 Feature: Added Ruby 1.8 support 2011-08-10 14:01:22 +01:00
Les Hill
cad25f7a8d Create decorators with context 2011-08-08 18:01:31 -07:00
Les Hill
7412475891 Refactor spec 2011-08-08 17:57:03 -07:00
Les Hill
a0d9c13772 Cleanup 2011-08-08 16:27:43 -07:00
Paul Elliott
0711dc1413 Add decorator method to decorated model 2011-08-07 22:07:40 -04:00
Jeff Casimir
36911776f3 Implementing lazy_helpers and improving test coverage 2011-07-27 23:45:09 -05: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
fc8199cdfc Reorganizing specs 2011-07-23 08:49:18 -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
9b325c999a Stripping down to basic decorations 2011-07-11 18:36:59 -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
2c57049832 Change excludes to denies 2011-06-30 18:45:37 -04:00
Jeff Casimir
a3804b0662 Bring over generator structure from rails_decorators 2011-06-30 18:19:48 -04:00