Commit Graph

20108 Commits

Author SHA1 Message Date
Vijay Dev
15ce225ab0 fix typo 2010-12-22 23:47:23 +05:30
Vijay Dev
90ef676c7f remove duplication of links 2010-12-22 23:47:09 +05:30
Lee Reilly
b78d288a55 Merge branch 'master' of github.com:lifo/docrails 2010-12-21 19:50:27 -08:00
Lee Reilly
55b01e65e2 No example given on how to render JSON data despite the heading 'Rendering XML and JSON data'; added relevant code. 2010-12-21 19:49:42 -08:00
John Firebaugh
0b0e6f13c0 Typo (request -> response) 2010-12-21 19:32:34 -08:00
John Firebaugh
d4afde9ab0 Expand ActionDispatch::Reloader docs 2010-12-21 19:26:33 -08:00
Neeraj Singh
3c1a0a8b62 expand on set_callback method to explain that in
some cases an implicit :before is assumed
2010-12-21 15:45:50 -05:00
Ryan Bigg
68ebd332d0 Config guide: Complete sentence about the Rack::SendFile middleware. 2010-12-21 13:45:38 +10:00
Ryan Bigg
4da4087fd8 Further re-working of the initialization guide 2010-12-21 10:40:15 +10:00
Ryan Bigg
1cacb08b21 Improve documentation on ActiveSupport::Deprecation. 2010-12-21 10:40:15 +10:00
Ryan Bigg
8373c735c7 config guide: mention ActiveSupport::Deprecation configuration options. 2010-12-21 10:40:14 +10:00
Aaron Patterson
6e14feb978 use array arithmetic rather than create sets 2010-12-20 14:24:04 -08:00
Jon Leighton
37b67df7e4 Avoid Symbol#to_proc for performance reasons in Ruby 1.8 2010-12-20 13:56:04 -08:00
Jon Leighton
834e5336a5 has_many associations with :dependent => :delete_all should update the counter cache when deleting records 2010-12-20 13:56:04 -08:00
Jon Leighton
57b9009893 Refactor delete_records in HasManyAssociation 2010-12-20 13:56:04 -08:00
Jon Leighton
b8153fd5a1 Fix problem where wrong keys are used in JoinAssociation when an association goes :through a belongs_to [#2801 state:resolved] 2010-12-20 13:56:04 -08:00
Jon Leighton
9863d8a5f6 Remove unnecessary overloaded methods create, create! and create_record from HasAndBelongsToManyAssociation 2010-12-20 13:56:04 -08:00
Jon Leighton
7f5fcc0785 Refactor create_record and build_record in AssociationCollection 2010-12-20 13:56:04 -08:00
Jon Leighton
ffa57671bb Delete create, create! and create_record from HasManyThroughAssociation in exchange for more generic versions in AssociationCollection 2010-12-20 13:56:04 -08:00
Jon Leighton
379c02267b Specify insert_record with NotImplementedError in AssociationCollection, to indicate that subclasses should implement it. Also add save_record to reduce duplication. 2010-12-20 13:56:03 -08:00
Xavier Noria
880f8419c4 Merge branch 'master' of git://github.com/lifo/docrails 2010-12-20 20:13:34 +01:00
José Valim
0cbfd6c28d Small changes on AD::Reloader. 2010-12-20 12:43:02 +01:00
John Firebaugh
e683ab7c39 Use AD::Reloader.to_cleanup for reloading [#2873 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-12-20 12:43:02 +01:00
John Firebaugh
435bccda93 Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-12-20 12:43:02 +01:00
John Firebaugh
0f7c970e4f Introduce ActionDispatch::Reloader
Based on the implementation on the 2-3-stable branch, patches by Hongli
Lai <hongli@phusion.nl>, and helpful suggestions from José Valim.

Hongli Lai's patches included locking around the request cycle; this is
now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/).

[#2873]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-12-20 12:43:02 +01:00
Piotr Sarnacki
d4f995301b More love for engines tests 2010-12-19 23:36:29 +01:00
John Firebaugh
916c25aeee Use assert_body 2010-12-19 22:39:21 +01:00
Santiago Pastorino
ab2bde45f8 Remove require AS::Concern from places where is already in 2010-12-19 19:15:26 -02:00
Vijay Dev
6909fb6cff indentation fixes 2010-12-20 02:34:08 +05:30
Santiago Pastorino
5fb42ac478 Tests and docs which explain the use of validate with a block and without arguments 2010-12-19 18:50:18 -02:00
Vijay Dev
4038a6bc0f minor fixesin READMEs 2010-12-20 01:07:33 +05:30
Vijay Dev
4197fad841 fix typos 2010-12-20 00:07:43 +05:30
Vijay Dev
eaad8610ee minor example fix for Rails 3 2010-12-19 23:37:22 +05:30
Santiago Pastorino
08ccd29b5b Remove weak_passwords list and the length/strong password validator, leave that up to the programmer 2010-12-19 15:01:29 -02:00
Piotr Sarnacki
37e643120a Temporary fix for railties test for newest rack changes 2010-12-19 17:57:36 +01:00
Santiago Pastorino
13e5a26dbb Fix indentation 2010-12-19 14:00:09 -02:00
Santiago Pastorino
7b875953b8 Use Concern in Rails::Railtie::Configurable 2010-12-19 14:00:09 -02:00
Santiago Pastorino
f249d07c44 Add missing require 2010-12-19 14:00:08 -02:00
Vijay Dev
cc3d6a8571 minor corrections 2010-12-19 21:28:33 +05:30
Piotr Sarnacki
c29a4485a2 Refactoring of application's task in engine.rake 2010-12-19 15:59:55 +01:00
Piotr Sarnacki
b50024f2ff Do not load all application's task in generated engine 2010-12-19 15:12:13 +01:00
José Valim
6d80f3a1ba Use class_attribute to ensure weak_passwords are inheritable. 2010-12-19 13:31:48 +01:00
Vijay Dev
6b65cd57ca deleting trailing whitespaces 2010-12-19 17:57:20 +05:30
Mikel Lindsaar
6c217f98db Add set_weak_passwords call in alignment with set_table_name. 2010-12-19 21:36:47 +11:00
Mikel Lindsaar
fa14df08a8 Fix incorrect docs 2010-12-19 20:54:15 +11:00
Mikel Lindsaar
a39a333769 Added ability to specify which passwords you want as weak passwords 2010-12-19 20:39:54 +11:00
José Valim
863de37b05 'unsecure' => 'insecure' 2010-12-19 09:37:08 +01:00
José Valim
432556b923 Make password messages translatable. 2010-12-19 09:34:31 +01:00
José Valim
b8f6dd8cbb Add missing require and remove extra module. 2010-12-19 09:31:26 +01:00
José Valim
d592fa946d Avoid warnings and fix small typo on SecurePassword. 2010-12-19 09:28:15 +01:00