Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 20, 2015
  1. @rafaelfranca

    Merge pull request #17139 from mfazekas/fix_becomes_changed_attributes

    rafaelfranca authored
    Always reset changed attributes in becomes
Commits on Feb 19, 2015
  1. @rafaelfranca

    Copy edit the suppressor documentation

    rafaelfranca authored
    [ci skip]
Commits on Feb 10, 2015
  1. @rafaelfranca

    Merge pull request #18877 from prathamesh-sonpatki/ar-changelog-typos-2

    rafaelfranca authored
     Fixed typos in ActiveRecord CHANGELOG [ci skip]
Commits on Feb 6, 2015
  1. @rafaelfranca

    Raise ArgumentError when passing nil to Relation#merge

    rafaelfranca authored
    nil or false should not be valid argument to the merge method.
    
    Closes #12264
Commits on Feb 5, 2015
  1. @rafaelfranca

    Merge pull request #18399 from kommen/unify-structure-file-envvar-names

    rafaelfranca authored
    Use SCHEMA instead of DB_STRUCTURE for specifiying structure file.
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Jan 4, 2015
  1. @rafaelfranca

    Change the behavior of boolean columns to be closer to Ruby's semantics.

    rafaelfranca authored
    Before this change we had a small set of "truthy", and all others
    are "falsy".
    
    Now, we have a small set of "falsy" values and all others are
    "truthy" matching Ruby's semantics.
  2. @rafaelfranca

    Change transaction callbacks to not swallowing errors.

    rafaelfranca authored
    Before this change any error raised inside a transaction callback
    are rescued and printed in the logs.
    
    Now these errors are not rescue anymore and just bubble up,
    as the other callbacks.
  3. @rafaelfranca
  4. @rafaelfranca
  5. @rafaelfranca
  6. @rafaelfranca
  7. @rafaelfranca

    Remove deprecated access to connection specification using a string a…

    rafaelfranca authored
    …cessor.
    
    Now all strings will be handled as a URL.
  8. @rafaelfranca
  9. @rafaelfranca
  10. @rafaelfranca

    Return a null column from `column_for_attribute` when no column exists.

    rafaelfranca authored
    This reverts commit ae96f22.
    
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/attribute_methods.rb
  11. @rafaelfranca
  12. @rafaelfranca
Commits on Jan 2, 2015
  1. @rafaelfranca

    Merge pull request #17820 from fw42/restore_query_cache_on_rollback

    rafaelfranca authored
    Clear query cache on rollback
  2. @rafaelfranca

    Merge pull request #15309 from iantropov/issue_12698_build_through

    rafaelfranca authored
    Add setting of FK for throgh associations while building
    
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/test/cases/associations/has_many_through_associations_test.rb
  3. @rafaelfranca

    Merge pull request #18228 from kamipo/correctly_dump_primary_key

    rafaelfranca authored
    Improve a dump of the primary key support.
    
    Conflicts:
    	activerecord/CHANGELOG.md
  4. @rafaelfranca

    Merge pull request #18067 from kamipo/format_datetime_string_accordin…

    rafaelfranca authored
    …g_to_precision
    
    Format the datetime string according to the precision of the datetime field.
    
    Conflicts:
    	activerecord/CHANGELOG.md
  5. @rafaelfranca

    Merge pull request #15746 from amccloud/auto-inverse_of-in-module

    rafaelfranca authored
    Fixed automatic inverse_of for models nested in module
    
    Conflicts:
    	activerecord/CHANGELOG.md
  6. @rafaelfranca

    Merge pull request #11898 from prathamesh-sonpatki/patch-update

    rafaelfranca authored
    Changed ActiveRecord::Relation#update behavior so that it will work on Relation objects without giving id
    
    Conflicts:
    	activerecord/CHANGELOG.md
  7. @rafaelfranca

    Merge pull request #18080 from korbin/fix_reaping_frequency_configura…

    rafaelfranca authored
    …tion
    
    Fix issue with reaping_frequency type.
Commits on Dec 31, 2014
  1. @rafaelfranca

    Fix error message when trying to create an associated record

    rafaelfranca authored
    This error only happens when the foreign key is missing.
    
    Before this fix the following exception was being raised:
    
        NoMethodError: undefined method `val' for #<Arel::Nodes::BindParam:0x007fc64d19c218>
    
    Now the message is:
    
        ActiveRecord::UnknownAttributeError: unknown attribute 'foreign_key' for Model.
Commits on Nov 28, 2014
  1. @rafaelfranca

    Start Rails 5 development :tada:

    rafaelfranca authored
    We will support only Ruby >= 2.1.
    
    But right now we don't accept pull requests with syntax changes to drop
    support to Ruby 1.9.
Commits on Nov 10, 2014
  1. @rafaelfranca

    Merge pull request #11694 from Empact/association-bind-values-not-upd…

    rafaelfranca authored
    …ated-on-save
    
    Fix that a collection proxy could be cached before the save of the owner, resulting in an invalid proxy lacking the owner’s id
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Sep 17, 2014
  1. @rafaelfranca

    Merge pull request #16875 from alan/dont_autosave_has_one_through_record

    rafaelfranca authored
    Don't autosave unchanged has_one through records
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Sep 5, 2014
  1. @rafaelfranca
Commits on Aug 7, 2014
  1. @rafaelfranca

    Define id_was to get the previous value of the primary key

    rafaelfranca authored
    Currently when we call id_was and we have a custom primary key name
    Active Record will return the current value of the primary key. This
    make impossible to correctly do an update operation if you change the
    id.
    
    Fixes #16413
Commits on Jul 16, 2014
  1. @rafaelfranca

    Merge pull request #15944 from seuros/uuid

    rafaelfranca authored
    Treat invalid uuid as nil
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Jul 15, 2014
  1. @rafaelfranca
Commits on Jul 4, 2014
  1. @rafaelfranca

    Merge pull request #16028 from cade/fix_counter_cache_count_with_asso…

    rafaelfranca authored
    …ciation_selects
    
    Add `:all` argument to `count` in `reset_counters`
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Jul 2, 2014
  1. @rafaelfranca

    Revert "Merge pull request #15394 from morgoth/fix-automatic-maintain…

    rafaelfranca authored
    …ing-test-schema-for-sql-format"
    
    This reverts commit 46139d3, reversing
    changes made to 8f24787.
    
    Conflicts:
    	activerecord/CHANGELOG.md
Commits on Jun 27, 2014
  1. @rafaelfranca

    Merge pull request #15934 from seuros/rename

    rafaelfranca authored
    rename primary key sequence only if it exists
Something went wrong with that request. Please try again.