aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model_schema.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* added schema_migrations_table_name to ActiveRecord::Base in order that the na...Jerad Phelps2013-10-271-0/+6
* Perf: memoize serialized column list and time zone column listSam2013-08-271-17/+27
* add a specific factory method rather than using newAaron Patterson2013-07-231-1/+1
* removes the obsolete private method column_methods_hash [Closes #11406]Xavier Noria2013-07-161-13/+0
* safely publish columns and columns hash infoAaron Patterson2013-03-141-1/+1
* Fix decorating columns for serialized attributesitzki2012-12-101-4/+3
* 1.9 Syntax related changesAvnerCohen2012-11-101-1/+1
* Remove ActiveRecord::ModelJon Leighton2012-10-261-24/+23
* Revert "Get rid of the ActiveRecord::Model::DeprecationProxy thing."Jeremy Kemper2012-10-201-1/+1