This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
draper
mirror of
https://github.com/drapergem/draper
Watch
1
Star
0
Fork
You've already forked draper
0
Code
Releases
Activity
9fac59a985
draper
/
spec
History
Steve Klabnik
bfc33537b9
Add features around url helpers
2012-10-24 07:24:03 -04:00
..
draper
fix bug: unitialized constant NilClassDecorator no need to decorate an empty array anyways
2012-10-20 15:22:19 -07:00
dummy
Add features around url helpers
2012-10-24 07:24:03 -04:00
generators
/decorator
Rename Base to Decorator
2012-10-09 10:05:22 +01:00
minitest-rails
Update minitest integration
2012-09-27 13:46:27 -06:00
support
/samples
Rename ModelSupport to Decoratable
2012-10-09 10:11:57 +01:00
spec_helper.rb
Clear the context per request, and assign a controller reference that is used to create a new view context on demand if needed by draper outside of a template context.
Fixes
#287
. Split out the system initialization into action_controller and action_mailer pieces for clarity. Guarded the view context lazy initialization to only attempt to create a test context if the proper test classes exist (as they won't outside of test mode).
2012-10-01 14:30:18 -07:00