aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model_schema.rb
Commit message (Expand)AuthorAgeFilesLines
* Correct the behavior of virtual attributes on models loaded from the dbSean Griffin2016-07-251-1/+5
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+6
* Always prefer class types to query types when casting `group`Sean Griffin2016-07-111-2/+6
* Make Active Record emit significantly smaller YAMLSean Griffin2016-05-311-0/+5
* s/statment/statement/Vipul A M2016-04-241-1/+1
* Revert "Deprecate table names containing dots"Sean Griffin2016-03-311-7/+0
* Deprecate table names containing dotsSean Griffin2016-03-311-0/+7
* Move sequence value methods to Model levelArthur Neves2016-03-241-0/+12
* Shorten ActiveRecord::InternalMetadata.table_name to ar_internal_metadataYasuo Honda2016-02-011-2/+2
* Add `ModelSchema::type_for_attribute` to the public APISean Griffin2016-01-191-1/+12
* Merge pull request #22967 from schneems/schneems/generic-metadataSean Griffin2016-01-081-0/+13
|\
| * Prevent destructive action on production databaseschneems2016-01-071-0/+13
* | Call the new point behavior `:point`, not `:rails_5_1_point`Sean Griffin2015-12-171-1/+1
|/
* Use a real migration version number in docsMatthew Draper2015-12-151-1/+1
* Use a deliberately-invalid migration version in all doc examplesMatthew Draper2015-12-151-1/+1
* Ensure `#reset_column_information` clears child classes as wellSean Griffin2015-11-071-0/+3
* Implement ActiveRecord::Base.ignored_columnsJean Boussier2015-09-241-1/+8
* introduce `conn.data_source_exists?` and `conn.data_sources`.Yves Senn2015-09-221-2/+2
* Replace AR with ActiveRecord to make it more readable [ci skip]arvind2015-09-081-1/+1
* Return a `Point` object from the PG Point typeSean Griffin2015-06-051-0/+23
* remove duplicatesKoen Punt2015-04-031-4/+0
* rm `Column#cast_type`Sean Griffin2015-02-031-1/+1
* Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-311-20/+59
* Restore useful documentation removed atRafael Mendonça França2015-01-271-0/+6
* Update model_schema.rb [ci skip]Takehiro Adachi2015-01-271-20/+0
* Extract an explicit type caster classSean Griffin2014-12-291-0/+1
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-0/+1
* Remove unused `@relation` instance variableSean Griffin2014-12-261-2/+0
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Reduce the amount of work performed when instantiating AR modelsSean Griffin2014-11-141-1/+1
* Don't modify the columns hash to set defaults from the attributes APISean Griffin2014-10-311-1/+5
* Rename `default_attributes` to `_default_attributes`Sean Griffin2014-10-311-2/+2
* Change `gsub` to `tr` where possibleAlexander Balashov2014-10-061-1/+1
* Remove defunct ivarsBen Woosley2014-09-281-10/+7
* create_join_table uses same logic as HABTM reflectionsStefan Kanev2014-07-181-0/+11
* Simplify creation of default attributes on AR instanceSean Griffin2014-06-291-13/+7
* Merge pull request #15801 from sgrif/sg-column-defaultsRafael Mendonça França2014-06-191-2/+2
|\
| * Don't use column object when calculating type cast defaultsSean Griffin2014-06-181-2/+2
* | Introduce an object to aid in creation and management of `@attributes`Sean Griffin2014-06-191-2/+8
|/
* Don't type cast the default on the columnSean Griffin2014-06-171-4/+6
* Promote time zone aware attributes to a first class type decoratorSean Griffin2014-06-161-19/+1
* Ensure `column_types` returns a type object, and not a columnSean Griffin2014-06-111-6/+10
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-091-1/+7
* Keep column defaults in type cast formSean Griffin2014-06-031-0/+9
* Remove unused `initialize_attributes` methodSean Griffin2014-06-021-7/+0
* Refactor serialized types to be partially defined as custom propertiesSean Griffin2014-05-291-9/+0
* Add a public API to allow users to specify column typesSean Griffin2014-05-261-10/+0
* Remove `Column#primary`Sean Griffin2014-05-231-9/+3
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-1/+1
* Add support for module-level table_suffix in modelsJenner LaFave2014-05-051-1/+10