Yehuda Katz + Carl Lerche
0a132c2fe1
Refactor ActionView::Path
...
* Decouple from ActionController and ActionMailer
* Bring back localization support.
* Prepare to decouple templates from the filesystem.
* Prepare to decouple localization from ActionView
* Fix ActionMailer to take advantage of ActionView::Path
2009-04-22 17:24:41 -07:00
Jeremy Kemper
70c544df71
Rack::Utils.body_to_s doesn't exist in 1.0
2009-04-22 00:22:07 -07:00
Jeremy Kemper
f49e344128
Reinstate Base#render_to_string. Introduce AbstractController#render_to_string which stringifies render_to_body.
2009-04-21 16:02:30 -07:00
Jeremy Kemper
df42d26f99
Rename render_to_string to render_to_body since it may return any Rack-compatible body, not just strings
2009-04-17 18:34:49 -05:00
Yehuda Katz and Carl Lerche
3cecbc21e3
Get Base2 layouts to work :)
2009-04-07 17:57:20 -07:00
Yehuda Katz and Carl Lerche
95c9718118
Layouts work in AbstractController. Add support for the rspec runner for T::U
2009-04-07 15:54:02 -07:00
Yehuda Katz and Carl Lerche
c1aa5b0e14
Add depends_on, use, and setup to abstract up ideas about module inheritance.
2009-04-07 14:57:18 -07:00
Yehuda Katz and Carl Lerche
1d3e2c2b73
In the middle of some refactoring... some fails due to changes in AbstractController not yet reflected in ActionController tests
2009-03-23 18:06:47 -07:00
Yehuda Katz and Carl Lerche
a501638e9d
Checkpoint
2009-03-23 15:45:01 -07:00
Carl Lerche
c6123c3703
Finished implementing layout for render :text
2009-03-23 10:23:14 -07:00
Carl Lerche
81e814adfa
Working on being able to render :text with layouts
2009-03-23 10:23:14 -07:00
Yehuda Katz
890321e51e
Get very basic layouts working.
...
* Required small architecture change
2009-03-19 15:45:48 -07:00
Yehuda Katz
8ab37c7660
Started implementing render :action
2009-03-19 13:35:39 -07:00
Yehuda Katz
e0447023db
Implemented basic template rendering in AC::Base2:
...
* Created several macros for writing simpler specs
* Finished making Rack::Test work right
* Implemented render_to_string
* Status Codes
* render :text => nil
2009-03-18 15:58:47 -07:00
Yehuda Katz
f55514125c
Working toward getting a basic AbstractController framework
2009-03-17 18:04:22 -07:00
Yehuda Katz
f8088d7def
memoize correctly ;)
2009-03-03 17:20:57 -08:00
Yehuda Katz
6001cea5d7
Helpers with an initial test
2009-03-03 16:42:20 -08:00
Yehuda Katz
9510070f78
Fixes multiple conditions
2009-02-27 19:37:09 -08:00
Yehuda Katz
c16c7a8de4
Add support for callbacks
2009-02-27 19:25:45 -08:00
Yehuda Katz
ee80dad680
Initial hooks
2009-02-27 15:11:02 -08:00
Yehuda Katz
d1157e7242
AbstractController now supports layouts and rendering
2009-02-27 11:42:13 -08:00
Yehuda Katz
b1f078bddf
First, very early, AbstractController code. More to come
2009-02-24 17:25:21 -08:00