Vijay Dev
|
bb707cf737
|
indentation fix
|
2010-12-23 23:34:28 +05:30 |
|
Rizwan Reza
|
9dfa06acb4
|
Edits to caching/fragments.
|
2010-12-23 16:29:40 +03:30 |
|
Rizwan Reza
|
0997d5a12d
|
More minor edits.
|
2010-12-23 16:13:36 +03:30 |
|
Rizwan Reza
|
5fb2f0c07f
|
Revised documentation for cache_helper.
|
2010-12-23 16:06:53 +03:30 |
|
Ryan Bigg
|
890105f4f1
|
Query guide: add or conditions
|
2010-12-23 22:15:08 +10:00 |
|
Ryan Bigg
|
8713bb6ab8
|
Query guide: cover further ARel methods
|
2010-12-23 18:36:39 +10:00 |
|
Ryan Bigg
|
6271f3f16b
|
Query guide: Document "in" methods
|
2010-12-23 16:39:10 +10:00 |
|
Ryan Bigg
|
578f9711fd
|
Query guide: arel_table, eq and eq_any
|
2010-12-23 16:06:29 +10:00 |
|
Ryan Bigg
|
cef17cd705
|
Query guide: specify what type of objects scopes return
|
2010-12-23 15:44:12 +10:00 |
|
Ryan Bigg
|
0795c3a15e
|
Query guide: Ordering, selecting and so on shouldn't be nested in conditions as they are modifiers, not conditions in the prime sense of the word.
|
2010-12-23 15:05:17 +10:00 |
|
Ryan Bigg
|
c3748190f4
|
Query Guide: update Changelog
|
2010-12-23 14:59:22 +10:00 |
|
Ryan Bigg
|
226a2a90ed
|
Query guide: class methods are still available on associations
|
2010-12-23 14:58:33 +10:00 |
|
Ryan Bigg
|
0644e38c42
|
Query guide: scopes with arguments should be instead defined as class methods.
|
2010-12-23 14:57:53 +10:00 |
|
Ryan Bigg
|
b4b2574a12
|
Query guide: fix indentation
|
2010-12-23 14:55:42 +10:00 |
|
Ryan Bigg
|
f411451ed5
|
Remove comma [samuelkadoph]
|
2010-12-23 14:53:26 +10:00 |
|
Ryan Bigg
|
28b1642561
|
Query guide: lambdas must be used when working with scopes
|
2010-12-23 14:50:40 +10:00 |
|
Ryan Bigg
|
5b19579ab3
|
Init guide: further revision, covering rails/plugin.rb and friends
|
2010-12-23 14:36:24 +10:00 |
|
Ryan Bigg
|
f183668ff9
|
Querying guide: Add mention of the scope method
|
2010-12-23 14:36:24 +10:00 |
|
Xavier Noria
|
8a3132b8a9
|
Merge branch 'master' of git://github.com/lifo/docrails
|
2010-12-23 00:15:10 +01:00 |
|
Xavier Noria
|
55f2e9f898
|
removes binary? hack for RDoc, API requires RDoc 3 and horo 1.0.3
|
2010-12-23 00:05:38 +01:00 |
|
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 |
|
Piotr Sarnacki
|
09195f10bd
|
Do not use the same hash instance for expansions [#6114 state:resolved]
Using the same hash instance makes using the same expansions for
both javascripts and stylesheets.
|
2010-12-22 09:44:46 +01:00 |
|
Piotr Sarnacki
|
b613145284
|
Fix activesupport tests. These classes are not used anywhere
|
2010-12-22 09:44:46 +01:00 |
|
Piotr Sarnacki
|
1a2c427991
|
Ensure that uncountable are removed after test
|
2010-12-22 09:44:46 +01:00 |
|
John Paul Ashenfelter
|
9b4622a483
|
Added a word boundary to uncountable inflection regex for #singularize so short inflections like ors do not affect larger words like sponsors [#6093 state:resolved]
|
2010-12-22 09:44:46 +01:00 |
|
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 |
|
Santiago Pastorino
|
baebe7d0d5
|
Avoid Bundler Resolver bug until they solve the issue
|
2010-12-21 20:30:33 -02: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 |
|
Aaron Patterson
|
87ae85d536
|
returning id (for some yet to be discovered reason)
|
2010-12-20 19:47:15 -08:00 |
|
Aaron Patterson
|
207f266cca
|
define_attr_method must serialize nil correctly
|
2010-12-20 19:47:15 -08:00 |
|
Aaron Patterson
|
099a210c83
|
if there is no base name, we cannot determine a primary key
|
2010-12-20 19:47:15 -08:00 |
|
Ryan Bigg
|
68ebd332d0
|
Config guide: Complete sentence about the Rack::SendFile middleware.
|
2010-12-21 13:45:38 +10:00 |
|
Aaron Patterson
|
0516806760
|
remove some lasigns
|
2010-12-20 19:32:14 -08: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
|
3ce3c21997
|
no use for set, no need to to_ary, reduce extra objects
|
2010-12-20 14:40:07 -08: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 |
|