aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #357 from joshk/assign_attributes.David Heinemeier Hansson2011-05-013-39/+416
|\
| * singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-013-39/+326
| * Added mass-assignment security :as and :without_protection support to AR.new ...Josh Kalderimis2011-05-011-24/+114
* | Merge pull request #340 from joshk/default_scope_changes.David Heinemeier Hansson2011-05-012-20/+24
|\ \ | |/ |/|
| * removed the default_scope deprecations and updated the docs and tests to refl...Josh Kalderimis2011-04-282-20/+24
* | assert_difference can take a callable piece of code rather than just evaling ...Aaron Patterson2011-05-011-4/+4
* | fixing more test warnings in 1.9.3Aaron Patterson2011-04-303-6/+6
* | fixing test warningsAaron Patterson2011-04-301-7/+1
* | making sure the `create_fixtures` method works to prevent regressionsAaron Patterson2011-04-291-0/+5
* | supporting nil when passed in as an IN clauseAaron Patterson2011-04-291-3/+4
* | Test that passing nil member of array in conditions retrieves records with nilgmile2011-04-291-0/+22
|/
* some test renaming to avoid collisions, and some annoying issues between dbsJosh Kalderimis2011-04-271-7/+7
* final corrections to the mass-assignment security testsJosh Kalderimis2011-04-271-4/+4
* fix mass-assignment security tests, this was due to a string column limit whi...Josh Kalderimis2011-04-272-15/+15
* AR update_attributes api is updated to reflect the addition of assign_attributesJosh Kalderimis2011-04-261-0/+40
* Merged pull request #310 from beanieboi/master.Aaron Patterson2011-04-263-1/+41
|\
| * Added tsvector Datatype SupportBenjamin Fritsch2011-04-263-1/+41
* | Merged pull request #308 from joshk/assign_attributes.José Valim2011-04-251-0/+6
|\ \
| * | deprecated the use of the guard_protected_attributes argument with attributes...Josh Kalderimis2011-04-251-0/+6
* | | Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-251-0/+26
|/ /
* | Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-245-26/+92
* | Added test case and fix for proper eager loading associationsPavel Forkert2011-04-221-0/+10
|/
* Bring back support for passing a callable object to the default_scope macro. ...Jon Leighton2011-04-182-0/+29
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-188-241/+40
* Fix test_associate_existing in has_many_through_associations_test on mysql an...Jon Leighton2011-04-171-1/+1
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-174-36/+21
* Bypass IdentityMap in PostgreSQL geometric tests.Jason Weathered2011-04-171-2/+2
* Return nil from read_attribute(:foo) if 'foo' is not present in the @attribut...Jon Leighton2011-04-151-1/+2
* Undo performances regressions I introduced in bbe0a507f287c20ab4ae8a244fbfc81...Jon Leighton2011-04-151-0/+11
* Refactor test to avoid hackeryJon Leighton2011-04-151-4/+4
* Remove unnecessary code from define_read_method and add assertion to make sur...Jon Leighton2011-04-151-0/+1
* mysql type cast should return integers when typecasting true / falseAaron Patterson2011-04-142-0/+51
* using the database adapter to typecast before executing prepared statementAaron Patterson2011-04-142-0/+20
* inserting big decimals as strings works consistently among dbs, so use string...Aaron Patterson2011-04-141-1/+1
* adding a type cast method for prepared statementsAaron Patterson2011-04-141-0/+93
* do not depend on to_yaml being called, but rather depend on YAML being dumpedAaron Patterson2011-04-131-6/+7
* use index based substitution for bind parametersAaron Patterson2011-04-134-6/+6
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-132-2/+2
* common @jonleighton :bomb:Aaron Patterson2011-04-121-2/+1
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-124-21/+38
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-121-11/+0
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-124-17/+16
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-1213-114/+294
* Removing the scope-caching which happens on association proxies, because the ...Jon Leighton2011-04-121-10/+15
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-122-2/+2
* wrap the pg_get_serial_sequence function and reuse it for the default sequenc...Aaron Patterson2011-04-111-0/+25
* adding exec_insert for postgresqlAaron Patterson2011-04-112-1/+39
* fixing variable name in mysql testAaron Patterson2011-04-111-1/+1
* adding mysql adapter test caseAaron Patterson2011-04-111-0/+69
* adding exec_insert to sqlite3Aaron Patterson2011-04-111-0/+12