Alexey Vakhov
d42d97d2e3
Fix comment in AbstractController callbacks
2011-10-06 10:39:37 +04:00
José Valim
5711a35ad8
Ensure default_asset_host_protocol is respected, closes #2980 .
2011-10-05 02:08:02 +02:00
José Valim
6e8fe1bf02
TestCase should respect the view_assigns API instead of pulling variables on its own.
2011-10-02 11:29:13 +02:00
Xavier Noria
bf2b9d2de3
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
RELEASING_RAILS.rdoc
actionpack/lib/sprockets/railtie.rb
actionpack/test/template/sprockets_helper_test.rb
activerecord/test/cases/calculations_test.rb
railties/guides/source/3_1_release_notes.textile
railties/guides/source/active_resource_basics.textile
railties/guides/source/command_line.textile
2011-08-13 16:30:07 -07:00
geemus
53e1a9d411
update abstract_controller callbacks to document meta-programmed filters
2011-08-13 16:22:35 -07:00
Santiago Pastorino
5b5b22acb5
Remove unused use_sprockets config
2011-08-13 16:22:15 -07:00
Aaron Patterson
5f56db4454
adding missing require to fist railties tests
2011-08-09 14:54:56 -07:00
Aaron Patterson
f9f423fa18
deprecating process_view_paths
2011-08-09 12:10:25 -07:00
Aaron Patterson
3ad26c8e48
avoid object creation via useless duping and freezing
2011-08-09 11:41:06 -07:00
Aaron Patterson
88de343ef4
Array#+ automatically dups, no double duping
2011-08-09 10:54:05 -07:00
Santiago Pastorino
cb85d70d61
Remove unused use_sprockets config
2011-07-25 19:07:39 -03:00
Jon Leighton
fcbde454f6
Don't do remove_possible_method when delegate is used. Two reasons: 1) warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937 .
2011-07-18 00:22:26 +01:00
Matt Jankowski
db4f0ac025
use present tense on examples
2011-06-21 15:12:11 -04:00
Matt Jankowski
538d2a52ce
remove extra space and clarify how an exception is made for controller wide layouts
2011-06-21 10:34:31 -04:00
Matt Jankowski
20a9bddfad
reorder layout selection examples to occur in the order that the code does, and provide more detail on why each selection is made
2011-06-21 10:31:16 -04:00
Sebastian Martinez
fcdb5dc557
Remove extra white spaces on ActionPack docs.
2011-05-23 20:22:33 -03:00
Xavier Noria
d491130236
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
actionpack/lib/action_view/helpers/date_helper.rb
railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
2011-05-14 11:21:27 +02:00
Xavier Noria
e5524d538c
minor edits after going through what's new in docrails
2011-05-14 11:15:43 +02:00
Nick Sutterer
e3b3f416b5
added docs for AbC::UrlFor and AC::UrlFor.
2011-05-12 09:31:36 +02:00
Sebastian Martinez
9899f53184
better styling on #available_action? docs
2011-05-06 14:23:25 -03:00
José Valim
9c2c25c1a1
Revert to old semantics, use available_action? instead of action_method?.
2011-05-06 18:44:18 +02:00
José Valim
d42bb68430
More updates to ivars list.
2011-05-06 14:57:25 +02:00
José Valim
894bdbd53d
Move variables to underscore format, update protected instance variables list.
2011-05-06 14:57:25 +02:00
José Valim
1632a3a49f
More AV::Base cleanup.
2011-05-04 12:07:37 +02:00
José Valim
6afc900191
Move prefixes to view paths as they are now a lookup context dependency.
2011-05-04 11:28:37 +02:00
José Valim
c9fa3f03fe
Also allow prefixes as third argument to lookup context.
2011-05-04 09:07:11 +02:00
Nick Sutterer
eb327c1bab
no @controller dependency in Renderers.
2011-05-04 00:12:11 +02:00
Nick Sutterer
65ceccb0ba
controller's prefixes are now added to LookupContext.
2011-05-03 23:41:38 +02:00
José Valim
f9849070ac
Add a shared entry point for AV and AC render which can be used as extension in the future.
2011-05-03 16:51:47 +02:00
José Valim
b735761385
Introduce view renderer.
2011-05-01 13:40:13 +02:00
Piotr Sarnacki
d4bea35f1a
Make ActionController::Base.modules_for_helpers and ActionController::Base.all_helpers_from_path public methods
2011-04-25 15:02:41 +02:00
José Valim
a66c917235
Do not inherit from Rack::Response, remove a shit-ton of unused code.
2011-04-19 11:54:12 +02:00
José Valim
4f044528c0
Slightly reorganize rendering stack.
2011-04-18 08:12:51 +02:00
José Valim
d6bd606bdd
render :once, YAGNI.
2011-04-15 21:11:54 +02:00
Eric Hayes
ada550d908
Fixed a comment typo
2011-04-14 16:29:06 +08:00
Prem Sichanugrist
0f8a6ebba3
Fix missing requires in Action Mailer
...
This made the isolated test failed on CI server.
Signed-off-by: Xavier Noria <fxn@hashref.com >
2011-04-13 19:52:19 +02:00
Joshua Peek
ed24595647
Merge branch 'master' into sprockets
2011-04-12 21:56:00 -05:00
Oge Nnadi
d5634b2287
Added missing </tt>
2011-04-11 13:08:58 -07:00
Santiago Pastorino
cc58fe79ac
Implicit actions named not_implemented can be rendered
2011-04-02 23:47:50 -03:00
Joshua Peek
56a5da89db
Merge branch 'master' into sprockets
...
Conflicts:
railties/lib/rails/application/configuration.rb
2011-03-30 21:04:33 -05:00
Joshua Peek
5df076ad09
Merge branch 'master' into sprockets
2011-03-30 20:56:05 -05:00
José Valim
ba51aa0b1b
Make action_method? public and change implicit rendering to override it instead.
2011-03-30 17:22:05 +02:00
Joshua Peek
bed7a1acc4
Copy use_sprockets config
2011-03-29 16:17:49 -05:00
José Valim
94907035b6
Pass the proper method_name instead of hardcoding to action_name.
...
Conflicts:
actionpack/lib/action_controller/metal/implicit_render.rb
2011-03-29 19:30:59 +02:00
Andrew White
9772de8d45
Fix filter :only and :except with implicit actions
...
The method_name argument is "default_render" for implicit actions
so use the action_name attribute to determine which callbacks to run.
[#5673 state:resolved]
2011-03-23 23:32:44 +00:00
Manuel Meurer
deae670e9a
Change ActionView::ViewPathSet to ActionView::PathSet
2011-03-13 15:14:51 +07:00
Neeraj Singh
806e6f80dc
render_to_string must ensure that response_body
...
is nil
[ #5875 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-25 20:14:03 +01:00
José Valim
262b2ea8cd
Solve SystemStackError when changing locale inside ActionMailer [ #5329 state:resolved]
2011-01-19 23:42:10 +01:00
Nick Sutterer
db24701abe
process_action accepts multiple args, even with Callbacks.
2010-12-29 16:37:10 -08:00
wycats
e03e1fdbc8
Speed up template inheritance and remove template inheritance option
2010-12-26 23:56:09 -08:00