Permalink
Commits on Jul 5, 2012
  1. Merge pull request #6976 from vitorbal/master

    Add documentation for inheritance_column method [ci skip]
    carlosantoniodasilva committed Jul 5, 2012
  2. Merge pull request #6957 from francois2metz/options_method

    Add the options method to action_controller testcase.
    carlosantoniodasilva committed Jul 5, 2012
  3. Merge pull request #6959 from robin850/patch-1

    Add few information on the field types
    josevalim committed Jul 5, 2012
  4. Merge pull request #6967 from frodsan/quite_as_duration

    fix quoting for ActiveSupport::Duration instances
    rafaelfranca committed Jul 5, 2012
  5. Merge pull request #6969 from mkdynamic/patch-1

    Use ArgumentError vs. RuntimeError, which is more precise
    jeremy committed Jul 5, 2012
  6. Merge pull request #6968 from guilleiguaran/update-test-helper

    CSV fixtures aren't supported by default anymore, update generated test_helper.rb to reflect that
    rafaelfranca committed Jul 5, 2012
  7. CSV fixtures aren't supported by default anymore, update generated te…

    …st_helper.rb to reflect that
    guilleiguaran committed Jul 5, 2012
  8. fix quoting for ActiveSupport::Duration instances

    This patch fixes quoting for ActiveSupport::Duration instances:
    
        # before
        >> ActiveRecord::Base.connection.quote 30.minutes
        => "'--- 1800\n...\n'"
    
        # after
        >> ActiveRecord::Base.connection.quote 30.minutes
        => "1800"
    
    Also, adds a test for type casting ActiveSupport::Duration instances.
    
    Related to #1119.
    Francesco Rodriguez committed Jul 5, 2012
Commits on Jul 4, 2012
  1. Merge pull request #6961 from frodsan/fix_release_note

    fix link and add activeresource link in release notes page [ci skip]
    spastorino committed Jul 4, 2012
  2. Add the options method to action_controller testcase.

    Signed-off-by: François de Metz <francois@stormz.me>
    francois2metz committed Jul 4, 2012
  3. Update 4.0 Release Notes

    Related with 17d2115
    rafaelfranca committed Jul 4, 2012
  4. Kill not used constant since removal of runner method

    Runner method was removed in ada571b.
    carlosantoniodasilva committed Jul 4, 2012
Commits on Jul 3, 2012
  1. remove duplicate requires of mocha.

    Mocha is already required by AS::TestCase, so remove the duplicate
    requires.
    tenderlove committed Jul 3, 2012
  2. Merge pull request #6948 from frodsan/plugin_skip_ignore

    remove test/dummy from gitignore when "plugin new -T"
    rafaelfranca committed Jul 3, 2012
  3. remove test/dummy from gitignore when "plugin new -T"

    Francesco Rodriguez committed Jul 3, 2012
  4. Add references schema statements

    Examples:
    
        add_reference :products, :supplier, polymorphic: true, index: true
        remove_reference :products, :user
    
    `add_belongs_to` and `remove_belongs_to` are
    acceptable.
    lexmag committed with rafaelfranca Jul 2, 2012
  5. Merge pull request #6946 from threedaymonk/queue-refs

    Ensure that queued jobs are marshallable
    tenderlove committed Jul 3, 2012
  6. Make TestQueueTest work with marshalling queue

    This requires all jobs to be instances of named classes, without block
    implementations of methods.
    threedaymonk committed Jul 3, 2012
  7. Merge pull request #6940 from acapilleri/observer_update

    Observer #update refactoring
    carlosantoniodasilva committed Jul 3, 2012
  8. Ensure jobs do not refer to the queue

    Jobs pushed to the queue should not contain a reference to it. As the queue
    itself cannot be marshalled, and as a consequence of checking the
    marshallability of all jobs in the test environment, we can now guarantee this
    to be the case in the test environment when using the default TestQueue
    implementation.
    threedaymonk committed Jul 3, 2012
  9. Ensure test jobs are marshallable

    By marshalling and unmarshalling jobs when adding them to the test queue, we
    can ensure that jobs created during test runs are valid candidates for
    marshalling, and, thus, that they can be used with queueing backends other than
    the default simple in-process implementation.
    
    This will also be used in a subsequent commit to ensure that jobs pushed to the
    queue do not contain a reference to the queue itself.
    threedaymonk committed Jul 3, 2012
  10. Track queue threading with named classes

    Using an anonymous class prevented marshalling: we're not doing that yet, but
    the next commit will introduce this. This also provided an opportunity to
    improve the expressivity of the tests and to make the assertion failure
    messages clearer.
    threedaymonk committed Jul 3, 2012
  11. observer update refactoring

    acapilleri committed Jul 3, 2012