aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | oops. step away from the keyboard aaron. :cry:Aaron Patterson2013-06-131-1/+1
| |
* | fix caching of automatic inverse of. :bomb:Aaron Patterson2013-06-131-1/+3
| |
* | let the object stay in charge of internal cache invalidationAaron Patterson2013-06-132-13/+6
| |
* | refute the predicate for better failure messagesAaron Patterson2013-06-131-1/+1
| |
* | reduce automatic_inverse_of caching logicAaron Patterson2013-06-131-30/+16
| |
* | active_record should always be set. Do or do not, there is no tryAaron Patterson2013-06-131-1/+1
| |
* | push ambiguous reflection warning down to reflection name calculationAaron Patterson2013-06-131-23/+28
| |
* | clean up ivar assignmentAaron Patterson2013-06-131-3/+2
| |
* | Merge pull request #10890 from buytruckload/masterYves Senn2013-06-131-1/+1
|\ \ | | | | | | update format validation documetation
| * | change format example to read better when rendered with full_messagesbarelyknown2013-06-081-1/+1
| | | | | | | | | The capital O was awkward and the validation wouldn't read "right" to the user.
* | | Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-134-3/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, you need to change this: class Author < ActiveRecord::Base has_many :posts has_many :taggings, :through => :posts end class Post < ActiveRecord::Base has_one :tagging has_many :taggings end class Tagging < ActiveRecord::Base end To this: class Author < ActiveRecord::Base has_many :posts has_many :taggings, :through => :posts, :source => :tagging end class Post < ActiveRecord::Base has_one :tagging has_many :taggings end class Tagging < ActiveRecord::Base end
* | | Merge pull request #10425 from ↵Rafael Mendonça França2013-06-134-38/+47
|\ \ \ | | | | | | | | | | | | | | | | ranjaykrishna/push_add_column_options_to_schema_creation Push add column options to schema creation
| * | | Moving add_column_options! up to SchemaCreationjeran2013-06-124-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed two instances of add_column_options! from abstract_mysql_adapter reworked rename_column_sql to remove add_column_options from schema_statements changed to use new hash syntax.
* | | | Add missing nsec test for 17f5d8eAndrew White2013-06-131-0/+5
| | | |
* | | | Keep sub-second resolution when wrapping a DateTime valueAndrew White2013-06-135-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `DateTime#usec` and `DateTime#nsec` so that `ActiveSupport::TimeWithZone` keeps sub-second resolution when wrapping a `DateTime` value. Fixes #10855
* | | | sometimes singularize does not work, so we get a list of two strings. just ↵Aaron Patterson2013-06-121-1/+1
| | | | | | | | | | | | | | | | uniq them
* | | | no need to cache hash lookupsAaron Patterson2013-06-121-1/+1
| | | |
* | | | split aggregates from association reflections to avoid is_a checks laterAaron Patterson2013-06-121-5/+11
| | | |
* | | | remove unnecessary is_a checkAaron Patterson2013-06-121-2/+1
| | | |
* | | | we should apply the default scope before queryingAaron Patterson2013-06-121-1/+2
| | | |
* | | | Merge pull request #10915 from gsamokovarov/railties-autoloadsGuillermo Iguaran2013-06-121-12/+10
|\ \ \ \ | | | | | | | | | | Refactor of ::Rails module
| * | | | Refactor of ::Rails moduleGenadi Samokovarov2013-06-121-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Used ActiveSupport::Autoload to dry-up the autoload definitions. 2. Used ActiveSupport's delegate to dry up the application proxied attributes. 3. Did a little white space change on Rails.groups.
* | | | | Merge pull request #10928 from jetthoughts/use_sprockets_rails_2_0_0Guillermo Iguaran2013-06-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Use sprockets-rails 2.0.0
| * | | | | Use sprockets-rails 2.0.0Paul Nikitochkin2013-06-121-1/+1
|/ / / / /
* | | | | Merge pull request #10919 from vipulnsward/cleanup_as_testCarlos Antonio da Silva2013-06-121-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Drop extra variable from test
| * | | | | Drop extra variable from testVipul A M2013-06-121-2/+2
| | | | | |
* | | | | | Merge pull request #10922 from prathamesh-sonpatki/typosCarlos Antonio da Silva2013-06-121-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix typos in AR changelog [ci skip]
| * | | | | | Fix typos in AR changelog [ci skip]Prathamesh Sonpatki2013-06-121-2/+2
| |/ / / / /
* | | | | | Merge pull request #10923 from arunagw/warning_removed_minitestCarlos Antonio da Silva2013-06-121-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Warning removed for Minitest
| * | | | | | Warning removed for MinitestArun Agrawal2013-06-121-1/+1
| |/ / / / /
* | | | | | Merge pull request #10924 from pjg/patch-1Carlos Antonio da Silva2013-06-121-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Grammar fix [ci skip]
| * | | | | Grammar nazi at work [ci skip]Paweł Gościcki2013-06-121-1/+1
|/ / / / /
* | | | | bind values should not be merged between scopesAaron Patterson2013-06-111-1/+1
| | | | |
* | | | | stop adding a new method for touch callbacksAaron Patterson2013-06-111-29/+21
| | | | |
* | | | | expose a few attribute changed methodsAaron Patterson2013-06-111-10/+10
| | | | |
* | | | | push the touch method outside the evalAaron Patterson2013-06-111-13/+34
| | | | |
* | | | | remove unused variableAaron Patterson2013-06-111-1/+0
| | | | |
* | | | | check whether the association is constructible rather than checking constantsAaron Patterson2013-06-111-3/+3
| | | | |
* | | | | use attribute methods for finding key values rather than generating method namesAaron Patterson2013-06-111-3/+3
| | | | |
* | | | | push belongs_to counter cache method to a single methodAaron Patterson2013-06-111-17/+18
| | | | |
* | | | | push before_destroy counter cache method to a single methodAaron Patterson2013-06-111-12/+17
| | | | |
* | | | | remove evaled belongs_to counter cache methodAaron Patterson2013-06-111-8/+22
| | | | |
* | | | | adding callbacks should be privateAaron Patterson2013-06-111-4/+6
| | | | |
* | | | | indentationAaron Patterson2013-06-111-1/+1
|/ / / /
* | | | remove evals from the associationAaron Patterson2013-06-111-8/+2
| | | |
* | | | reduce evals in depdendent associationsAaron Patterson2013-06-111-1/+2
| | | |
* | | | remove some evals from callback conditionalsAaron Patterson2013-06-113-2/+17
| | | |
* | | | Merge pull request #10897 from prathamesh-sonpatki/active-support-typosCarlos Antonio da Silva2013-06-101-3/+3
|\ \ \ \ | | | | | | | | | | Fixed typos in activesupport [ci skip]
| * | | | Fixed typos in activesupport [ci skip]Prathamesh Sonpatki2013-06-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | - eval'ed to eval'd in accordance with https://github.com/rails/rails/pull/10889 - tried to improve statement about compiling Procs into methods using define_method
* | | | | Merge pull request #10906 from darai2k/fix-activemodel-validations-docCarlos Antonio da Silva2013-06-101-1/+0
|\ \ \ \ \ | | | | | | | | | | | | fix ActiveModel::Validations.validators_on doc