Commit Graph

5259 Commits

Author SHA1 Message Date
Piotr Sarnacki
b417cfbf01 Load rake tasks defined in superclasses in context of railties 2010-10-09 21:32:34 +02:00
Piotr Sarnacki
8636f64def Rename rake railties:copy_migrations to rake railties:install:migrations and fix it to work with new copying strategy 2010-10-09 21:32:34 +02:00
Piotr Sarnacki
5d5eb2b18d Rename namespace method to isolate_namespace.
This change caused by confusion caused by calling engine
"namespaced". Stuff inside engine can be namespaced for every
engine. This method is not actually namespacing anything, it's
isolating engine within the given namespace.
2010-10-09 21:32:34 +02:00
Santiago Pastorino
afd76d7fe9 Fix error in routing guide edit_photo_path needs the id as param 2010-10-09 14:50:25 -02:00
Santiago Pastorino
6286629aca This test is not only testing config/database stuff anymore 2010-10-09 13:36:54 -02:00
Aditya Sanghi
36862511e0 test that skip active records does not load fixtures
[#4104 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-09 13:31:37 -02:00
Santiago Pastorino
e7f911d5ca Test if test/performance/browsing_test.rb exists when --skip-activerecord is used
[#4104]
2010-10-09 13:11:26 -02:00
Juan Maiz
b439c14516 Fixing two minor errors in Rails::Generators::Actions initializer method comments
[#5771 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-08 19:19:17 -02:00
Santiago Pastorino
e9793c60b6 Makes this code a bit more clear 2010-10-08 15:15:12 -02:00
Ryan Bigg
5826c17307 Remove the final initializers since initializers += will return it anyway. [#3892 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-08 15:15:08 -02:00
Piotr Sarnacki
e68c87bb65 Fix engines test
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-10-08 18:23:32 +02:00
Piotr Sarnacki
08f4713dba Refactored routes reloading to use RouteSet#append instead keeping block in Engine
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-10-08 18:23:25 +02:00
José Valim
a0e482e807 Ensure rack body responds to each. 2010-10-08 09:29:07 +02:00
Vesa Vänskä
c3c6f58ffb Fixed rake task description typo 2010-10-08 15:14:10 +08:00
Ryan Bigg
1e63a05d28 Add "a" to make it better English
[#3796 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-07 11:40:57 -02:00
Xavier Noria
db520042b3 Merge branch 'master' of git://github.com/lifo/docrails 2010-10-06 23:16:13 +02:00
Thomas McDonald
3ca6988b78 Fixed typo in engine documentation 2010-10-06 22:11:03 +01:00
Rafael Mendonça França
a0552d653b Fixes typo 2010-10-06 12:55:16 -03:00
José Valim
d649bf158b Provide a cleaner syntax for paths configuration that does not rely on method_missing. 2010-10-06 17:20:15 +02:00
wycats
d40ca9cce2 Some initial docs 2010-10-06 03:06:12 -07:00
wycats
0904e82568 Delegate everything to the generator 2010-10-06 02:58:49 -07:00
wycats
848eb0d777 Revert "Clean up the builder abstraction in AppGenerator."
The phrase "clean up" misrepresents the fact that this removes
a feature that ships with Rails 3.0.

This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356.
2010-10-06 02:53:00 -07:00
José Valim
6774e12afa Clean up the builder abstraction in AppGenerator.
This commit may be reverted once documentation and a proper way to handle actions are added.
2010-10-06 11:13:57 +02:00
Aditya Sanghi
ae812e9fc9 adding test for namedspaced mailers 2010-10-06 19:45:13 +11:00
Xavier Noria
3b7d48cc45 a couple of touches to the guides guidelines 2010-10-05 22:52:43 +02:00
Xavier Noria
da34ee423f aaaaannnddd, your beloved typo only spotted in the github colored diff no matter how many passes you did before pushing 2010-10-05 19:38:05 +02:00
Xavier Noria
360a878070 new guide: Ruby on Rails Guides Guidelines 2010-10-05 19:34:27 +02:00
José Valim
68d75c3365 Don't expect an AD::Response object back from the app. 2010-10-05 09:55:51 +02:00
José Valim
4a4ff148ff Use RbConfig instead of Config for 1.9.3 compatibility. 2010-10-05 09:48:32 +02:00
José Valim
848e48ec9c Link to rack from github for this while. 2010-10-04 18:08:03 +02:00
José Valim
10d014acb8 Update to Thor 0.14.3. 2010-10-04 13:46:37 +02:00
Piotr Sarnacki
adfd43a4da Add documentation on app_generators 2010-10-03 23:32:03 +02:00
José Valim
74dd8a3681 Move ETag and ConditionalGet logic from AD::Response to the middleware stack. 2010-10-03 21:25:22 +02:00
Nicholas E. May (on Enterprise)
467d20c897 Section 6, table, typo (extra '.rb') 2010-10-03 00:37:15 -05:00
Nicholas E. May (on Enterprise)
bcc103367b Section 4.3, wrong word used: 'contact' => 'content' 2010-10-02 23:05:08 -05:00
Nicholas E. May (on Enterprise)
ab7b99f150 Section 3.3: '# bundle install' instead of just 'bundle install' 2010-10-02 22:43:45 -05:00
Nicholas E. May (on Enterprise)
ffe24354cc Section 3.2, table: 'README.rdoc' -> 'README' 2010-10-02 22:26:26 -05:00
Nicholas E. May (on Enterprise)
a72edab3b3 Removed unnecessary 'the' in the '2.2.9 Active Suport' section of Getting Started. 2010-10-02 21:57:01 -05:00
José Valim
49cc01002e Be more explicit about what is deprecated. 2010-10-02 09:40:54 -07:00
José Valim
04cbabb0a0 Deprecate generators in Railties. You should use app_generators instead. 2010-10-02 18:38:23 +02:00
José Valim
757bbd540c :'' is not valid ruby. 2010-10-02 18:30:38 +02:00
José Valim
7b0c592e38 reload_routes! is part of the public API and should not be removed. 2010-10-02 17:45:26 +02:00
José Valim
609849a0f1 Fix a routing test. Reorganize middleware tests. 2010-10-02 17:42:36 +02:00
Xavier Noria
542ddd8c89 brings csrf_meta_tags back to the generated layout
After more discussion, it has be agreed that this kind
of changes within reasonable margins are OK for 3.1.
That is, it is fine to change a little bit the generators
even if that means examples in existing books won't be
exact. (Note that the singular csrf_meta_tag exists as an
alias and thus those outdated examples will run, same for
existing applications.)
2010-10-02 00:10:32 +02:00
Neeraj Singh
33733d5d1d no need to check for nil 2010-09-30 23:59:09 +08:00
Jaime Iniesta
ef554156c4 Action Mailer Basics guide - reformatted configuration table 2010-09-30 12:23:52 +02:00
Jaime Iniesta
ae65a1f1df Action Mailer Basics guide - fixed typos 2010-09-30 12:11:51 +02:00
José Valim
6b248f6ea5 Add more information to comments. 2010-09-30 10:33:31 +02:00
Piotr Sarnacki
9f569c60ad Try to guess application's directory while trying to run the server, but only if config.ru is not present in current dir 2010-09-30 10:27:55 +02:00
Piotr Sarnacki
3049e645e5 Moved Rails::RoutesReloader to Rails::Application::RoutesReloader 2010-09-30 09:47:06 +02:00