Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | extract options is not necessary | Aaron Patterson | 2010-10-20 | 1 | -1/+0 | |
| | ||||||
* | removing unused variable | Aaron Patterson | 2010-10-20 | 1 | -1/+1 | |
| | ||||||
* | default scope merge where clauses [#5488 state:resolved] | Jan | 2010-10-20 | 1 | -0/+1 | |
| | ||||||
* | default scope can accept any object that responds to #call | Aaron Patterson | 2010-10-19 | 1 | -1/+1 | |
| | ||||||
* | Allow default_scope to accept a Proc. | Tim Morgan | 2010-10-19 | 1 | -1/+6 | |
| | ||||||
* | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 1 | -1/+1 | |
| | ||||||
* | be kind to the garbage collector and reuse our visitor object | Aaron Patterson | 2010-10-03 | 1 | -1/+4 | |
| | ||||||
* | avoid creating objects when we can | Aaron Patterson | 2010-10-03 | 1 | -2/+1 | |
| | ||||||
* | Arel::Sql::Engine.new does not do anything anymore | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | type_name should check for blank because people may have messed up databases | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | type_name is never a blank string, so use faster .nil? call | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | speeding up object instantiation by eliminating instance_eval | Aaron Patterson | 2010-09-30 | 1 | -7/+21 | |
| | ||||||
* | Set attributes properly for model built from association with conditions ↵ | Marcelo Giorgi | 2010-09-28 | 1 | -8/+9 | |
| | | | | | | [#5562 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | do not need intermediate variable, avoid lasgn | Aaron Patterson | 2010-09-27 | 1 | -2/+3 | |
| | ||||||
* | Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) ↵ | Marcelo Giorgi | 2010-09-24 | 1 | -1/+1 | |
| | | | | | | [#5688 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | use instance_eval, reduce method calls. | Stevie Graham | 2010-09-21 | 1 | -15/+7 | |
| | | | | | | | | | | | | | | | | execution time in seconds for `rake test_sqlite3`: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] - before: 52.771426, 52.159505, 52.937056 - after: 51.452584, 51.897017, 51.584431 rubinius 1.0.1 (1.8.7 release 2010-06-03 JI) [x86_64-apple-darwin10.4.0] - before: 284.334076 - after: 285.753028 ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] - before: 75.811548, 75.533153, 75.353122 - after: 75.244243, 75.19226, 75.256925 | |||||
* | Cache unserialized attributes | Jeremy Kemper | 2010-09-09 | 1 | -6/+5 | |
| | ||||||
* | refactor a couple injects to map + Hash[] | Aaron Patterson | 2010-09-08 | 1 | -5/+2 | |
| | ||||||
* | avoid an inject in favor of dup | Aaron Patterson | 2010-09-08 | 1 | -3/+3 | |
| | ||||||
* | serialized attributes should be serialized before validation [#5525 ↵ | Aaron Patterson | 2010-09-07 | 1 | -2/+2 | |
| | | | | state:resolved] | |||||
* | no need to freeze this string | Aaron Patterson | 2010-09-07 | 1 | -1/+1 | |
| | ||||||
* | unscoped has nothing so merging with a relation just returns the relation | Santiago Pastorino | 2010-09-07 | 1 | -1/+1 | |
| | ||||||
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -22/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -1/+0 | |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | |||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+1 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Reset default scope in Thread.current when class is unloaded [#5497 ↵ | Andrew White | 2010-09-01 | 1 | -0/+8 | |
| | | | | | | state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Replacing superclass_delegating_accessoror with class_attribute. | Neeraj Singh | 2010-08-31 | 1 | -1/+1 | |
| | | | | | | | :store_full_sti_class will have value true or false so there is no danger of mutability here. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | :nodoc:s #unscoped until its behavior is more clear, now sometimes works, ↵ | Xavier Noria | 2010-08-25 | 1 | -1/+1 | |
| | | | | sometimes not | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-25 | 1 | -0/+5 | |
|\ | ||||||
| * | unscoped does not work when chained with named_scope | Neeraj Singh | 2010-08-23 | 1 | -0/+5 | |
| | | ||||||
* | | fix broken relative links [#5415 state:committed] | Joost Baaij | 2010-08-24 | 1 | -1/+1 | |
|/ | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Fix docs to reference ActiveRecord::LogSubscriber | Evgeniy Dolzhenko | 2010-08-21 | 1 | -1/+1 | |
| | | | | since Rails::LogSubscriber doesn't seem to be defined anymore | |||||
* | Optimize find_sti_class when store_full_sti_class is true | Andrew White | 2010-08-19 | 1 | -1/+5 | |
| | | | | | | [#5403] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Memoize STI class lookups for the duration of a request | Jeremy Kemper | 2010-08-19 | 1 | -2/+2 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -87/+87 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Removing most of the symbol to proc usage in Active Record | Prem Sichanugrist | 2010-08-13 | 1 | -3/+3 | |
| | | | | This will hopefully make Active Record run a bit more faster. | |||||
* | commit review: applies guidelines to "# =>" | Xavier Noria | 2010-08-12 | 1 | -2/+2 | |
| | ||||||
* | updating documentation for named_scope and default_scope | Neeraj Singh | 2010-08-12 | 1 | -0/+10 | |
| | ||||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-05 | 1 | -9/+9 | |
|\ | ||||||
| * | fixing documentation | Neeraj Singh | 2010-08-03 | 1 | -9/+9 | |
| | | ||||||
* | | I'm unsure how cloning was working in Rails 3 before | wycats | 2010-08-04 | 1 | -1/+1 | |
|/ | ||||||
* | Correcting the documentation which wrongly states that each dynamic finder ↵ | Neeraj Singh | 2010-08-02 | 1 | -7/+4 | |
| | | | | | | | creates method on the class. Only dynamic finders using <tt>scoped_by_*</tt> creates new methods. | |||||
* | Adding to AR::Base documentation about dynamically scopeded_by query | Neeraj Singh | 2010-08-02 | 1 | -9/+17 | |
| | | | | User.scoped_by_user_name('David') | |||||
* | updating documentation to ensure line does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -88/+128 | |
| | ||||||
* | slight performance improvement when grabbing an arel table | Aaron Patterson | 2010-07-27 | 1 | -1/+1 | |
| | ||||||
* | Don't interpolate a blank string, avoid warnings | Santiago Pastorino | 2010-07-26 | 1 | -0/+2 | |
| | ||||||
* | Fixes syntax error in "with_scope" example | Arkadiusz Holko | 2010-07-25 | 1 | -1/+1 | |
| | ||||||
* | Revert "Style fixes" | Pratik Naik | 2010-07-15 | 1 | -1/+1 | |
| | | | | This reverts commit 3c300b31219f2af3ecd46ef22b04e5c5548db899. | |||||
* | Style fixes | wycats | 2010-07-14 | 1 | -1/+1 | |
| | ||||||
* | Style fixes | Pratik Naik | 2010-07-14 | 1 | -1/+1 | |
| |