aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* Perf fix - Use an instance variable instead of a class_attribute. Thanks @jos...Jon Leighton2011-06-161-8/+4
* Pass mass-assignment options to nested models - closes #1673.Andrew White2011-06-131-3/+6
* don't reinitialize the arel_table unless the table_name changesDamien Mathieu2011-06-091-1/+2
* No need to create a new Arel::Table, as the arel_table method already creates...Rodrigo Navarro2011-06-081-1/+0
* remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+1
* Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-1/+0
* Merge pull request #1285 from joshk/remove_active_record_deprecationsAaron Patterson2011-05-251-15/+2
|\
| * removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-15/+2
* | Fix the AR::Base#inspect method [closes #1294]Franck Verrot2011-05-251-6/+10
|/
* Fix infinite recursion where a lazy default scope references a scope. Fixes #...Jon Leighton2011-05-251-3/+12
* Merge pull request #1180 from Karunakar/documentation_changeXavier Noria2011-05-211-3/+13
|\
| * Documentation Error Fixed for ticket #839Karunakar (Ruby)2011-05-211-3/+13
* | Merge pull request #1162 from guilleiguaran/singularize_individual_table_nameJon Leighton2011-05-211-2/+2
|\ \ | |/ |/|
| * Allow pluralize_table_names for individual modelGuillermo Iguaran2011-05-201-2/+2
* | Syntax cleanup: for in => eachGuillermo Iguaran2011-05-191-1/+1
|/
* Add doc to #attribute_namesSebastian Martinez2011-05-151-0/+3
* Add ActiveRecord::attribute_names to retrieve a list of attribute names. This...Prem Sichanugrist2011-05-151-0/+8
* Fix assigning protected attributes by attributes=knapo2011-05-111-4/+3
* fix bug in usage example of #unscopedCorin Langosch2011-05-111-1/+1
* Ensure assign_attributes and update_attributes do not fail on nil, closes #478.José Valim2011-05-101-0/+2
* renamed mass-assignment scopes to roles, updated code, tests, docs and securi...Josh Kalderimis2011-05-081-6/+6
* Class.new.name returns an empty string on 1.8José Valim2011-05-071-1/+1
* Revert "Revert the merge because tests did not pass."José Valim2011-05-071-0/+4
* Revert the merge because tests did not pass.José Valim2011-05-061-4/+0
* Merge pull request #423 from richardiux/masterJosé Valim2011-05-061-0/+4
|\
| * Adding base method symbolized_sti_name to activerecord base to be used on ide...Richard Millan2011-05-061-0/+4
* | Multiparameter POLA, time_select fixes. See LH4346Aditya Sanghi2011-05-051-29/+52
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-041-18/+18
|\
| * Remove extra whitespacesSebastian Martinez2011-05-021-18/+18
* | Merge pull request #357 from joshk/assign_attributes.David Heinemeier Hansson2011-05-011-5/+28
|\ \
| * | Added mass-assignment security :as and :without_protection support to AR.new ...Josh Kalderimis2011-05-011-5/+28
| |/
* / removed the default_scope deprecations and updated the docs and tests to refl...Josh Kalderimis2011-04-281-36/+17
|/
* deprecated the use of the guard_protected_attributes argument with attributes...Josh Kalderimis2011-04-251-9/+14
* Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-241-1/+40
* Bring back support for passing a callable object to the default_scope macro. ...Jon Leighton2011-04-181-0/+12
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-181-20/+27
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-8/+5
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-51/+93
* Delegate first!, last!, any? and many? to scopedAndrew White2011-03-291-1/+2
* Bring #reorder backSebastian Martinez2011-03-281-1/+1
* Do not in place modify what table_name returnsSantiago Pastorino2011-03-221-1/+1
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-051-3/+3
|\
| * use Arel::Table#alias rather than passing the :as parameterAaron Patterson2011-03-051-2/+2
| * fixes a missmatched column in examplemjy2011-03-051-1/+1
* | Use Base#type_condition in JoinAssociationJon Leighton2011-03-051-2/+2
|/
* Rewrote AssociationPreload.Jon Leighton2011-02-281-1/+1
* Fix missing inheritance from AR::Base in docsJosep M. Bach2011-02-241-1/+1
* merges docrailsXavier Noria2011-02-181-4/+1
|\
| * removes unrealistic example (authentication plus gender?), that it is not nee...Xavier Noria2011-02-181-4/+1
| * Clarify Example in ActiveRecord baseNicholas Rowe2011-02-181-1/+1