aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model_schema.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Get rid of the ActiveRecord::Model::DeprecationProxy thing.Jon Leighton2012-10-191-1/+1
* Minor refactoring in Active Record model schema methodsCarlos Antonio da Silva2012-08-211-5/+3
* The default value can be set once in #column_defaultsJon Leighton2012-08-171-0/+7
* load active_support/concern in active_support/railsXavier Noria2012-08-021-1/+0
* Refactor to reset_table_nameDmitry Vorotilin2012-07-281-8/+4
* Simplify AR configuration code.Jon Leighton2012-06-151-9/+14
* Fix wrong return value from reset_sequence_name method.kennyj2012-04-141-1/+1
* Don't reset inheritance_column when setting explicitly.kennyj2012-03-081-1/+2
* Revert table_name= needs connection now, so just stub table_namekennyj2012-03-071-1/+1
* tidy up formattingJon Leighton2012-03-041-10/+11
* Don't clear sequence name when we explicitly assign it.kennyj2012-03-041-2/+4
* Fix GH #4674. Reset column information and sequence name when setting table_n...kennyj2012-03-041-4/+11
* Remove unusused variablesJon Leighton2012-03-041-9/+6
* give each PG type a `type` method and decortate tz attributesAaron Patterson2012-02-071-5/+17
* wrap and cache columns for typecastingAaron Patterson2012-02-071-3/+18
* call to_s on value passed to table_name=Sergey Nartimov2012-01-261-1/+1
* Fix table_name in ActiveRecord with more than one abstract ancestorsPiotr Sarnacki2012-01-121-3/+7
* Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-5/+1
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-12/+12