Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 14, 2013
  1. @vipulnsward

    MOAR cleanups.

    vipulnsward authored
Commits on Mar 2, 2013
  1. @josevalim
Commits on Feb 24, 2013
  1. @senny

    remove AR auto-explain (config.auto_explain_threshold_in_seconds)

    senny authored
    We discussed that the auto explain feature is rarely used.
    This PR removes only the automatic explain. You can still display
    the explain output for any given relation using `ActiveRecord::Relation#explain`.
    As a side-effect this should also fix the connection problem during
    asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie`
    forced a connection.
Commits on Feb 20, 2013
  1. @hone

    standardize database_configuration to a hash

    hone authored
    make connection_url_to_hash a class method
    This als prevents loading database.yml if it doesn't exist
    but DATABASE_URL does
Commits on Dec 30, 2012
  1. @spastorino
Commits on Nov 29, 2012
  1. @lucasmazza
  2. @rafaelfranca

    Gracefully handle upgrading apps with observers

    rafaelfranca authored
    Rather than just raising a NoMethodError when copying the config, this
    commit adds a warning message until either the rails-observers gem is
    installed or the relevant config options are removed.
  3. @rafaelfranca

    Remove observers and sweepers

    rafaelfranca authored
    They was extracted from a plugin.
    [Rafael Mendonça França + Steve Klabnik]
Commits on Nov 26, 2012
  1. @blakesmith
Commits on Nov 13, 2012
  1. @tenderlove
Commits on Nov 9, 2012
  1. @pixeltrix

    Gracefully handle upgrading apps with mass assigment configs

    pixeltrix authored
    Most apps upgrading from 3.x will have options for mass assigment in
    their application.rb and environments/*.rb config files. Rather than
    just raising a NoMethodError when copying the config, this commit
    adds a warning message until either the protected_attributes gem
    is installed or the relevant config options are removed.
Commits on Oct 26, 2012
  1. @jonleighton

    Remove ActiveRecord::Model

    jonleighton authored
    In the end I think the pain of implementing this seamlessly was not
    worth the gain provided.
    The intention was that it would allow plain ruby objects that might not
    live in your main application to be subclassed and have persistence
    mixed in. But I've decided that the benefit of doing that is not worth
    the amount of complexity that the implementation introduced.
Commits on Oct 8, 2012
  1. @kennyj
Commits on Sep 28, 2012
  1. @vijaydev

    Merge branch 'master' of

    vijaydev authored
Commits on Sep 24, 2012
  1. @fxn
Commits on Sep 22, 2012
  1. nodoc AR::Railtie [ci skip]

    Francesco Rodriguez authored
Commits on Sep 9, 2012
  1. @arunagw
Commits on Aug 21, 2012
  1. @josevalim

    Get rid of config.preload_frameworks in favor of config.eager_load_na…

    josevalim authored
    The new option allows any Ruby namespace to be registered and set
    up for eager load. We are effectively exposing the structure existing
    in Rails since v3.0 for all developers in order to make their applications
    thread-safe and CoW friendly.
Commits on Aug 1, 2012
  1. @kennyj
Commits on Jun 15, 2012
  1. @jonleighton
  2. @jonleighton
  3. @jonleighton

    Simplify AR configuration code.

    jonleighton authored
    Get rid of ActiveModel::Configuration, make better use of
    ActiveSupport::Concern + class_attribute, etc.
  4. @jonleighton


    jonleighton authored
Commits on Jun 9, 2012
  1. @schneems

    raise error for pending migration

    schneems authored
    can be configured by setting config.active_record.migration. Setting to :page_load will raise an error on each page refresh if there are migrations that are pending. Setting to :page_load is defaulted in development for new applications.
Commits on May 29, 2012
  1. @kennyj

    Fix #5847 and #4045 on master.

    kennyj authored
  2. @kennyj
Commits on Apr 27, 2012
  1. @josevalim

    Revert "Merge pull request #5995 from kennyj/fix_5847-3"

    josevalim authored
    Active Record should be lazy loaded and this pull request
    forced Active Record to always be loaded after initialization.
    This reverts commit 8cd14c0, reversing
    changes made to 2f0c8c5.
Commits on Apr 26, 2012
  1. @kennyj
Commits on Apr 3, 2012
  1. @tpope @tenderlove

    DATABASE_URL allows omission of database.yml

    tpope authored tenderlove committed
  2. @tenderlove
Commits on Mar 13, 2012
  1. @carlosantoniodasilva
Commits on Feb 29, 2012
  1. @kennyj
  2. @kennyj
Commits on Jan 20, 2012
  1. @tenderlove
  2. @tenderlove
Something went wrong with that request. Please try again.