Commit Graph

21088 Commits

Author SHA1 Message Date
Ben Orenstein
b95f8be594 Fix incorrect example. 2011-02-27 20:22:55 -05:00
Ben Orenstein
9bbbae06c5 Fix incorrect word. 2011-02-27 18:17:06 -05:00
Rodrigo Navarro
6ff10c17aa Pointing out that dynamic_form plugin must be installed to be able to use error_messages and error_messages_for view helpers. 2011-02-27 10:03:50 -08:00
Ben Orenstein
9b35eeec62 Clean up wording. 2011-02-26 19:07:41 -05:00
Vijay Dev
72ae724485 use resources in place of map.resources 2011-02-27 02:14:30 +05:30
Ben Orenstein
8f13a166ce Clarify comment by removing french reference ('a la'). Should improve readability for non-native english speakers. 2011-02-26 14:29:22 -05:00
Ben Orenstein
e872a8f2a5 Example descriptions and their examples were flipped. Fix. 2011-02-26 13:36:47 -05:00
Ben Orenstein
e331ec0952 Warn people that these methods are deprecated. 2011-02-26 13:28:40 -05:00
Ben Orenstein
8270dcd12e Correct example that did not do what it claimed. Rework explanation. 2011-02-26 12:59:27 -05:00
Ilya Zayats
6de3f1fb4e added information about TEST_DIR env variable 2011-02-26 07:49:50 +03:00
Xavier Noria
2e60b00788 Merge branch 'master' of git://github.com/lifo/docrails 2011-02-25 20:53:55 +01:00
Prem Sichanugrist
515ea955b6 Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]
This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
2011-02-25 10:03:53 -08:00
Prem Sichanugrist
439a74520d Make sure that we set env["action_dispatch.show_exceptions"]
This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
2011-02-25 10:03:40 -08:00
Vijay Dev
287bb6990c standardize all shell commands with the $ prefix 2011-02-25 02:59:37 +05:30
Eric Allam
13547c16d9 fixes: ActiveRecord::Base.scopes includes all scopes defined in all subclasses 2011-02-24 11:17:06 -08:00
Josep M. Bach
55105c4318 Fix missing inheritance from AR::Base in docs 2011-02-24 10:00:09 +01:00
Aaron Patterson
5f1fc0c8ac observers leak across tests, so rather than modify the object, we should just count the number of times the observer was called 2011-02-23 16:04:01 -08:00
Vinicius Baggio
e8a578224f Removing redundant File.expand_path from generators test
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-02-23 19:42:51 +01:00
Rodrigo Navarro
0b2412978f Fixing wrong class name. 2011-02-23 10:23:01 -08:00
Rodrigo Navarro
29399e00c9 ActiveModel::Validator#validate must receive have a record parameter. 2011-02-23 10:22:03 -08:00
Kamal Fariz Mahyuddin
6ba8caf3ee Fix observer callbacks firing multiple times on descendant instances 2011-02-22 16:25:19 -08:00
José Valim
3265bbb659 Fix tests on 1.8. 2011-02-22 22:51:02 +01:00
Prem Sichanugrist
839d06f5f2 We're in 2011, let's update our license
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-22 18:24:20 -02:00
Michael Koziarski
3d907a68d9 Prepend the CSRF filter to make it much more difficult to execute application code before it fires. 2011-02-23 09:00:41 +13:00
Aaron Patterson
2cce44fa7c expectations change when using IM. Change oracle tests to reflect that 2011-02-22 11:27:12 -08:00
Aaron Patterson
4bd8d2607c Relation will delegate to AR::Base which already uses the Dynamic finders, so eliminate duplicate calls 2011-02-22 11:07:51 -08:00
Xavier Noria
f8cfa454e5 Merge branch 'master' of git://github.com/lifo/docrails 2011-02-22 19:06:29 +01:00
Mateus Paixão
20f2785849 alteracao de HTML para HTTP 2011-02-22 10:37:59 -03:00
Aaron Patterson
b3fcabb3a5 adding a test case for custom locking 2011-02-21 16:12:02 -08:00
Mani Tadayon
14263fa74e Merge branch 'master' of github.com:lifo/docrails 2011-02-21 13:46:19 -08:00
Mani Tadayon
ae78e462bc Fix typo in i18n guide: 'explicitely' 2011-02-21 13:45:21 -08:00
Xavier Noria
0d41fa9562 copy-edits 8d96b89 2011-02-21 13:44:20 -08:00
Xavier Noria
5e69debd7a copy-edits 6d7a826 2011-02-21 13:44:20 -08:00
Xavier Noria
fa38214641 copy-edits 34316d8 2011-02-21 13:44:20 -08:00
Nicholas Rowe
1700329526 Docs: Update to_xml documentation to match as_json docuemntation 2011-02-21 13:44:20 -08:00
Rodrigo Navarro
26a50689c9 Adding new examples for update_all method 2011-02-21 13:44:20 -08:00
Rodrigo Navarro
b39766fda5 Adding examples 2011-02-21 13:44:20 -08:00
Andy Lindeman
2b6845b1ef Specifying :partial is required when passing additional options such as :layout 2011-02-21 13:44:20 -08:00
Vijay Dev
406f7ebe69 cleans up PS1. Sorry lifo :) 2011-02-21 13:44:20 -08:00
Vijay Dev
c86cdea1b8 minor rephrasing 2011-02-21 13:44:19 -08:00
Nicholas Rowe
fab5fe7f60 Documentation: Added small comments to Observering module 2011-02-21 13:44:19 -08:00
Nicholas Rowe
746a412055 Tpyo: fixing several cases of the the 2011-02-21 13:44:19 -08:00
Nicholas Rowe
2a816db446 Typo: fixing the the 2011-02-21 13:44:19 -08:00
Ben Orenstein
2394ad69a4 Edit a few lines for readability. 2011-02-21 13:44:19 -08:00
Brandon Tilley
1e2ecc4d6f Add info about I18n::Backend::Chain to I18n guide 2011-02-21 13:44:19 -08:00
Vijay Dev
9345e9cca2 session is reset on token mismatch 2011-02-21 13:44:19 -08:00
Ben Orenstein
308328fd7f Add a forgotten word. 2011-02-21 13:44:19 -08:00
Ben Orenstein
a40b7159d9 Improve clarity of example. Make it follow guidelines for output display. 2011-02-21 13:44:18 -08:00
Ben Orenstein
797af0faa5 Add a clearer example for with_options (lifted from the Active Support guide). 2011-02-21 13:44:18 -08:00
Jimmy Cuadra
74b44dfb86 improve language and examples in Railtie docs 2011-02-21 13:44:18 -08:00