Skip to content
This repository

Nov 10, 2012

  1. Avner Cohen

    1.9 Syntax related changes

    AvnerCohen authored

Nov 02, 2012

  1. Vijay Dev

    copy edits [ci skip]

    vijaydev authored

Oct 26, 2012

  1. Francesco Rodríguez

    update AR::ImmutableRelation documentation [ci skip]

    frodsan authored

Sep 21, 2012

  1. Jon Leighton

    Support for specifying transaction isolation level

    If your database supports setting the isolation level for a transaction,
    you can set it like so:
      Post.transaction(isolation: :serializable) do
        # ...
    Valid isolation levels are:
    * `:read_uncommitted`
    * `:read_committed`
    * `:repeatable_read`
    * `:serializable`
    You should consult the documentation for your database to understand the
    semantics of these different levels:
    An `ActiveRecord::TransactionIsolationError` will be raised if:
    * The adapter does not support setting the isolation level
    * You are joining an existing open transaction
    * You are creating a nested (savepoint) transaction
    The mysql, mysql2 and postgresql adapters support setting the
    transaction isolation level. However, support is disabled for mysql
    versions below 5, because they are affected by a bug
    ( which means the isolation level
    gets persisted outside the transaction.
    jonleighton authored

Jun 27, 2012

  1. Maurício Linhares

    Fixes #6825, adds tests covering cases and error possibilities, also …

    …changes SQLite3 driver to correctly generate a time column instead of datetime
    mauricio authored

Jun 22, 2012

  1. Jon Leighton

    disallow mutating a relation once loaded

    jonleighton authored

Jun 06, 2012

  1. Marc-André Lafortune

    + ActiveRecord::Base#destroy!

    marcandre authored

Oct 14, 2011

  1. Christian Bäuerlein

    Consider attempted action in exception message of ActiveRecord::Stale…

    fabrik42 authored
  2. Christian Bäuerlein

    Includes stale record in StaleObjectError

    fabrik42 authored

Oct 05, 2011

  1. Jon Leighton

    Raise an exception on unknown primary key inside AssociationReflection.

    An association between two models cannot be made if a relevant key is
    unknown, so fail fast rather than generating invalid SQL. Fixes #3207.
    jonleighton authored
  2. Jon Leighton

    Revert "Raise error on unknown primary key."

    This reverts commit ee2be43.
    jonleighton authored
  3. Jon Leighton

    Raise error on unknown primary key.

    If we don't have a primary key when we ask for it, it's better to fail
    fast. Fixes GH #2307.
    jonleighton authored

Jul 07, 2011

  1. Akira Matsuda

    :conditions => where

    amatsuda authored
  2. Akira Matsuda

    find(:all) => all

    amatsuda authored

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Aug 02, 2010

  1. Neeraj Singh

    ensuring that description does not exceed 100 columns

    neerajdotname authored

Jun 15, 2010

  1. Rizwan Reza

    Adds title.

    rizwanreza authored

Mar 07, 2010

  1. Yehuda Katz

    Make many parts of Rails lazy. In order to facilitate this,

    add lazy_load_hooks.rb, which allows us to declare code that
    should be run at some later time. For instance, this allows
    us to defer requiring ActiveRecord::Base at boot time purely
    to apply configuration. Instead, we register a hook that should
    apply configuration once ActiveRecord::Base is loaded.
    With these changes, brings down total boot time of a
    new app to 300ms in production and 400ms in dev.
    TODO: rename base_hook
    wycats authored
Something went wrong with that request. Please try again.