aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* stop using distinct on for the unique id queries. [#6450 state:resolved]Aaron Patterson2011-04-212-1/+3
* Avoid define_method if possible.José Valim2011-04-192-2/+2
* 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
* Fix test_load_save in test/cases/binary_test.rb (thanks @tenderlove for actua...Jon Leighton2011-04-171-2/+1
* Bring back some bits of documentation for scopes which were removed as part o...Jon Leighton2011-04-171-1/+29
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-171-60/+2
* Return nil from read_attribute(:foo) if 'foo' is not present in the @attribut...Jon Leighton2011-04-151-1/+1
* Undo performances regressions I introduced in bbe0a507f287c20ab4ae8a244fbfc81...Jon Leighton2011-04-151-5/+23
* Remove unnecessary code from define_read_method and add assertion to make sur...Jon Leighton2011-04-151-7/+4
* sort insert columns for better cache hitsAaron Patterson2011-04-141-1/+1
* refactoring inserts to use the same method on the connectionAaron Patterson2011-04-141-21/+16
* mimic prepared statements in the exec_insert for mysql2Aaron Patterson2011-04-141-0/+11
* mysql type cast should return integers when typecasting true / falseAaron Patterson2011-04-141-0/+6
* using the database adapter to typecast before executing prepared statementAaron Patterson2011-04-142-2/+14
* inserting big decimals as strings works consistently among dbs, so use string...Aaron Patterson2011-04-141-1/+1
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-145-8/+64
* adding a type cast method for prepared statementsAaron Patterson2011-04-142-1/+37
* Extract the constraint-building for joins in JoinAssociation into a separate ...Jon Leighton2011-04-141-8/+14
* Fixes performance issue introduced in 3.0.6 (issue #6695)Stian Grytøyr2011-04-141-3/+5
* do not depend on to_yaml being called, but rather depend on YAML being dumpedAaron Patterson2011-04-131-1/+1
* use index based substitution for bind parametersAaron Patterson2011-04-133-4/+4
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-138-8/+8
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-121-2/+60
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-122-18/+4
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-125-16/+40
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-123-58/+95
* Removing the scope-caching which happens on association proxies, because the ...Jon Leighton2011-04-122-14/+0
* stop using deprecated methods in arelAaron Patterson2011-04-111-2/+2
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-128-8/+8
* remove so many nested if statementsAaron Patterson2011-04-111-9/+11
* wrap the pg_get_serial_sequence function and reuse it for the default sequenc...Aaron Patterson2011-04-111-2/+10
* cache table exists queries in prepared statement cacheAaron Patterson2011-04-111-3/+6
* only use the primary_key method, refactor schema and table name parsingAaron Patterson2011-04-111-13/+15
* use prepared statements for primary key queriesAaron Patterson2011-04-111-2/+15
* last insert id can never be called, so remove that code pathAaron Patterson2011-04-111-11/+3
* we know the table and pk, so we can calculate a default sequence nameAaron Patterson2011-04-111-3/+4
* always look up pk and sequence unless both are providedAaron Patterson2011-04-111-6/+5
* pg does not know the insert_id in advance, so super will never return trueAaron Patterson2011-04-111-13/+10
* updating the docco for ActiveRecord::ResultAaron Patterson2011-04-111-2/+2
* implement exec_query on mysql2 adapterAaron Patterson2011-04-111-2/+20
* make sqlite insert_sql more consistent with other adaptersAaron Patterson2011-04-111-1/+2
* adding exec_insert for postgresqlAaron Patterson2011-04-111-0/+4
* properly name schema queries for the loggerAaron Patterson2011-04-111-10/+10
* adding client_encoding method for discovering the encoding set for this clien...Aaron Patterson2011-04-111-0/+62
* properly name schema queries for loggingAaron Patterson2011-04-111-3/+3
* adding exec_insert to sqlite3Aaron Patterson2011-04-111-0/+4
* adding a case_sensitive_modifier for forcing comparisons to be case sensitiveAaron Patterson2011-04-114-0/+15
* only support pg >= 8.2, so no need to checkAaron Patterson2011-04-111-7/+4
* pg should define insert_sql so that query cache actually works for insertsAaron Patterson2011-04-101-2/+1