Jeremy Kemper
057768cd2c
Process view paths passed to AV::Base#initialize instead of raising.
2008-06-08 21:21:54 -07:00
Jeremy Kemper
c88f2b5e23
with_output_buffer returns the temporary buffer instead of the result of the block
2008-06-08 20:35:30 -07:00
Joshua Peek
df44df945d
Ensure ActionView::TemplateFinder view cache is rebuilt on initialize.
2008-06-08 22:31:54 -05:00
Joshua Peek
0c9281e821
Drop ActionController::Base.allow_concurrency flag
2008-06-08 22:11:50 -05:00
Jeremy Kemper
ff5f155f8d
Use output_buffer reader and writer methods exclusively instead of hitting the instance variable so others can override the methods.
2008-06-08 20:05:39 -07:00
Jeremy Kemper
fb9bf119fe
Merge branch 'master' into erbout
2008-06-06 22:27:03 -07:00
Jeremy Kemper
5b53a06959
Ensure we have an array to collect
2008-06-06 22:02:48 -07:00
Jeremy Kemper
5eb893f72d
Don't use deprecated String#each
2008-06-06 22:02:23 -07:00
Jeremy Kemper
fe9d2ad6e8
Remove some internal dead code that supported content_for
2008-06-06 18:01:14 -07:00
Jeremy Kemper
26ec1be24a
concat should ignore nil
2008-06-06 18:00:01 -07:00
Jeremy Kemper
e732a405ab
javascript_tag should only concat when block_given?
2008-06-06 17:59:41 -07:00
Jeremy Kemper
fec0f0678b
Merge branch 'master' into erbout
2008-06-06 04:13:23 -07:00
Jeremy Kemper
e2c49e6a59
Drop a string conversion from the often-called tag_options helper
2008-06-06 04:13:09 -07:00
Jeremy Kemper
49c4c7b997
Merge branch 'master' into erbout
2008-06-06 03:41:47 -07:00
Jeremy Kemper
566d717d78
Move Class::ModelName to Active Support module core_ext
2008-06-06 03:38:05 -07:00
Jeremy Kemper
c1a98209da
Cache RecordIdentifier methods in Class#model_name wrapper
2008-06-06 03:03:30 -07:00
Jeremy Kemper
9c9da5d927
Merge branch 'master' into erbout
2008-06-05 17:34:14 -07:00
Pratik Naik
1dbfe9766e
Ensure render :file works inside templates
2008-06-05 23:33:10 +01:00
Frederick Cheung
2e0765a003
Make partial counter start from 0.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-06-05 22:11:40 +01:00
Jeremy Kemper
e7f1556d0e
Merge branch 'master' into erbout
2008-06-05 13:25:33 -07:00
Joshua Peek
c4d570c2eb
Use CGI::Cookie::parse for request cookies until we officially deprecated CGI.
2008-06-04 22:32:09 -05:00
Sean Huber
30a0ebb3eb
Add RJS#page.reload. [ #277 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-06-04 13:32:53 +01:00
Jeremy Kemper
53bcbfbdc1
Merge branch 'master' into erbout
2008-06-03 22:38:27 -07:00
David Heinemeier Hansson
885453537e
Merge branch 'master' of git@github.com:rails/rails
2008-06-03 18:12:56 -05:00
David Heinemeier Hansson
edfa195e2a
Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens]
2008-06-03 18:11:47 -05:00
Gabe da Silveira
025515b234
Fix assert_redirected_to for nested controllers and named routes
...
[#308 state:resolved]
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-06-04 11:08:58 +12:00
josevalim
d54d90f2b5
Allow caches_action to accept a layout option [ #198 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-06-03 14:02:51 -05:00
Joshua Peek
c08547d226
Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveSupport [ #238 state:resolved]
2008-06-03 13:32:53 -05:00
Jeremy Kemper
f55ad960d2
Stack @output_buffer for nested rendering
2008-06-03 01:10:00 -07:00
Jeremy Kemper
4d4c8e298f
Don't pass block binding to concat
2008-06-02 21:32:50 -07:00
Jeremy Kemper
0bdb7d353b
Work with @output_buffer instead of _erbout
2008-06-02 21:32:50 -07:00
Jeremy Kemper
933697a5fc
Try replacing _erbout with @output_buffer
2008-06-02 21:32:50 -07:00
Joshua Peek
92050f6c6f
Ensure Rack processor reads CGI output_cookies for the session cookie.
2008-06-02 21:02:51 -05:00
Ezra Zygmuntowicz
06cb20708b
Added Rack processor
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-06-01 11:25:11 -07:00
David Heinemeier Hansson
cb59c93de0
Merge branch 'master' of git@github.com:rails/rails
2008-05-31 17:03:40 -07:00
David Heinemeier Hansson
f9db7695fe
Making ready for release of 2.1
2008-05-31 17:03:03 -07:00
Michael Koziarski
ef21e01333
Remove dead code, and the tests for it.
2008-05-31 16:59:03 -07:00
Jeremy Kemper
7391f7728d
Ruby 1.8.7 compat: work around broken DelegateClass#respond_to?
2008-05-31 15:36:32 -07:00
Jeremy Kemper
946f51449a
Require ruby-prof 0.6.1 or later. Use resume/pause to omit extraneous machinery from profile.
2008-05-30 02:39:00 -07:00
Jeremy Kemper
7520770c82
Don't require AV::TestCases to have a helper class. Only include the helper class in setup if it hasn't been already.
2008-05-26 01:38:56 -07:00
Pratik Naik
98dc582742
Merge docrails.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-25 12:29:00 +01:00
Kevin Glowacz
1a73e98660
Fix auto_link helper for already linked urls. [ #72 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-22 21:10:40 +01:00
Adam
314e556e6f
Parentheses should be acceptable characters for auto_link_urls. [ #234 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-22 11:16:02 +01:00
Erkki Eilonen
6e3521e613
Improve check_box_checked? to use include? for Array values. [ #193 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-21 20:23:58 +01:00
Jeremy Kemper
b43309328a
Ruby 1.9 compat: ensure binary encoding for post body parsing
2008-05-19 16:24:26 -07:00
José Valim
99860b72ae
Add fragment_exist? and exist? methods to cache stores. [ #203 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-19 10:38:59 +01:00
Frederick Cheung
17d1319c48
Ensure observe_field encodes value parameter. [ #216 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-19 10:30:56 +01:00
gbuesing
e30a263bf1
InstanceTag#default_time_from_options overflows to DateTime
2008-05-18 10:59:24 -05:00
gbuesing
0f333449bd
time_zone_select docs: explain priority zones option. Add example showing a custom set of priority zones.
2008-05-18 10:25:29 -05:00
Pratik Naik
2463e38efd
Deprecate ActionView::Base.cache_template_extensions
...
This commit deprecates unused ActionView::Base.cache_template_extensions option
and adds a deprecation warning for those having it in env specific config files.
Thanks to José Valim for pointing this out.
2008-05-17 12:22:15 +01:00