aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/session_store/sql_bypass.rb
Commit message (Collapse)AuthorAgeFilesLines
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-2/+2
| | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* testing sqlbypass destroy. caching connection during destroyAaron Patterson2010-07-231-0/+9
|
* adding a test for session saveAaron Patterson2010-07-221-0/+10
|
* testing loaded? method and reducing funcallsAaron Patterson2010-07-211-0/+10
|
* testing new_record? and converting to an attributeAaron Patterson2010-07-211-0/+5
|
* starting sql bypass test, fixing create_table and drop_table!Aaron Patterson2010-07-211-0/+22