Ryan Bigg
8b49fae3ea
There is no config.action_mailer.template_root method for Rails 3
2010-11-26 14:24:51 +11:00
Ryan Bigg
3d8d21b513
There is no config.action_view.warn_cache_misses method for Rails 3
2010-11-26 14:23:40 +11:00
Ryan Bigg
b4ec8ad09c
Separate Action Dispatch and Action Pack sections in Configuration Guide.
2010-11-26 14:22:24 +11:00
Ryan Bigg
3eec4d4f93
There is no config.action_controller.optimize_named_routes method for Rails 3
2010-11-26 14:20:33 +11:00
Ryan Bigg
f1406a905a
There is no config.action_controller.resource_path_names method for Rails 3
2010-11-26 14:19:17 +11:00
Ryan Bigg
33298d8e38
There is no config.action_controller.params_parser method for Rails 3. This is now handled by the ActionDispatch::ParamsParser middleware.
2010-11-26 14:16:57 +11:00
Ryan Bigg
9a4d672457
There is no view_path config option in Rails 3
2010-11-26 14:08:26 +11:00
Ryan Bigg
69ae74210c
There is no root_path config option in Rails 3
2010-11-26 14:07:42 +11:00
Ryan Bigg
ffca2d7f14
There is no plugin_paths config option in Rails 3
2010-11-26 14:05:43 +11:00
Ryan Bigg
f01f7fc629
There is no plugin_locators config option in Rails 3
2010-11-26 14:05:22 +11:00
Ryan Bigg
9979251d7c
There is no plugin_loader config option in Rails 3
2010-11-26 14:05:00 +11:00
Ryan Bigg
c8af6c28cc
load_once_paths is now autoload_paths in Rails 3
2010-11-26 14:03:49 +11:00
Ryan Bigg
db7c8abbb6
There is no database_configuration_file method in Rails 3
2010-11-26 13:59:51 +11:00
Ryan Bigg
eb21791c5b
There is no controller_paths method in Rails 3
2010-11-26 13:58:01 +11:00
Ryan Bigg
8b114bec06
Mention what cache_classes defaults to in all three default environments
2010-11-26 13:56:39 +11:00
Ryan Bigg
26837734d6
Don't mention Rails 2.3, given that this is supposed to be a guide for Rails *3*.
2010-11-26 13:54:37 +11:00
Ryan Bigg
aab76ce199
There is no more routes_configuration_file method.
2010-11-26 13:51:35 +11:00
Xavier Noria
85d64316a4
Merge branch 'master' of git://github.com/lifo/docrails
2010-11-23 21:59:50 +01:00
Jaime Iniesta
fd64bba648
i18n guide: fix RedCloth artifacts that were rendering bad format and broken links on 2.3 warnings
2010-11-23 17:53:59 +01:00
Santiago Pastorino
9938a3fc78
Update to Prototype 1.7
...
[#6042 state:committed]
2010-11-23 00:32:30 -02:00
David N. Welton
818b366c3e
Merge branch 'master' of github.com:lifo/docrails
2010-11-22 16:06:28 +01:00
David N. Welton
0598bd4d2d
Explain that NamedBase makes the variable 'name' available to the script.
2010-11-22 16:05:53 +01:00
Pavel Gorbokon
2515ad8a3e
Fix ruby syntax errors in railties/guides docs
2010-11-22 16:37:33 +02:00
David N. Welton
8c17d30d68
Slightly more natural sounding phrase.
2010-11-22 15:09:58 +01:00
Piotr Sarnacki
115abd52b6
Ensure that app generator is not loaded twice to get rid of warnings
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-22 13:43:18 +01:00
Piotr Sarnacki
f821055dc7
Do not create table_name_prefix method on isolated module if the method already exists.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-22 13:43:12 +01:00
Brian Alexander
51007f1dba
Previous version inaccurately suggested that
...
resources :posts, :path => "/admin"
would route "/admin/posts" to the PostsController but it actually routed "/admin" to the PostsController
2010-11-21 19:54:05 -08:00
Xavier Noria
15fd29b3ea
documents <%== in the AS guide
2010-11-21 10:17:30 +01:00
Xavier Noria
7c51d1fcf9
Spanish for "project" is "proyecto"
2010-11-21 03:29:44 +01:00
Xavier Noria
a03a3b7c31
copy-edits d773ef8
2010-11-21 03:29:44 +01:00
Jamison Dance
ffed9db269
fix some grammar issues with section 2.5
2010-11-21 03:29:44 +01:00
nosolopau
f975f35147
Spelling mistake: "Projecto" instead of "projeto"
2010-11-21 03:29:44 +01:00
Jaime Iniesta
925aeed4b6
i18n guide: fix external link to rack locale
2010-11-21 03:29:44 +01:00
Léo Hackin
f5a51a7788
Fix code for customize the error messages html adding a .html_safe of 8.3 section
2010-11-21 03:29:43 +01:00
Jaime Iniesta
f044d38192
i18n guide: this is not longer a problem
2010-11-21 03:29:43 +01:00
Jaime Iniesta
cbea139130
i18n guide: remove link to external page about 'How to encode the current locale in the URL' as it no longer exists
2010-11-21 03:29:43 +01:00
Jaime Iniesta
3c64553644
i18n guide: it's activerecord.errors.messages.record_invalid (instead of 'invalid'), and messagges typo
2010-11-21 03:29:43 +01:00
zhengjia
4a51328ae8
Minor fix on Rails:Railtie documentation
2010-11-21 03:29:43 +01:00
eparreno
3d377454db
remove old school validations and replaced with new validates method. Pending: fix active_record guide
2010-11-21 03:29:43 +01:00
Aaron Patterson
938243feb9
do not require ruby-debug automatically. please require it if you have declared it as a dependency
2010-11-19 16:26:09 -08:00
Xavier Noria
902ae14e65
guides: gives clear instructions for feedback, removes links to the now archived LH project
2010-11-19 21:46:12 +01:00
Piotr Sarnacki
77fc0cc165
Ensure that initializers are executed before loading rake tasks
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-18 17:46:18 +01:00
José Valim
d19768b50c
Facepunch failing tests.
2010-11-18 09:32:48 +01:00
Piotr Sarnacki
250fb3f6c2
Add config.action_controller.include_all_helpers, by default it is set to true.
...
In older rails versions there was a way to use only helpers from
helper file corresponding to current controller and you could also
include all helpers by saying 'helper :all' in controller. This config
allows to return to older behavior by setting it to false.
2010-11-18 00:20:57 +01:00
José Valim
7b2f2c8b47
Tidy up generators commits.
2010-11-17 23:32:19 +01:00
Piotr Sarnacki
aafac200be
Fix generators tests on ruby 1.9
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-17 23:32:19 +01:00
Carl Lerche
ccd2f3ede5
Update the version.rb files to include a PRE part
2010-11-16 17:19:46 -08:00
Piotr Sarnacki
1395545404
Do not run migrations from mounted engine separately.
...
There is no good way now to run migrations for mounted engine in test application,
but that way of running migrations makes it really hard to run
engine in development mode and test it (you need to copy migrations
in dev mode and in that case in tests they will be run twice).
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-16 22:58:13 +01:00
Piotr Sarnacki
510375b501
Fix plugin new --mountable: ActionController instead of ActiveController
2010-11-16 16:41:37 +01:00
Piotr Sarnacki
ced8ebcee0
Change inside_namespace method to inside_template and use it in all templates by default
...
The initial implementation of namespacing was based on wrong
assumptions. Namespacing path and class names in templates
should be based on current namespace and skip_namespace attribute,
but it should be not necessary to wrap content on all the templates
into additional block methods.
2010-11-16 16:38:14 +01:00