aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-112-2/+0
* Add missing require "active_support/core_ext/hash/indifferent_access"Ryuta Kamizono2017-11-101-0/+2
* Add missing requiresyuuji.yaginuma2017-11-101-0/+1
* Merge pull request #31114 from y-yagi/fix_ruby_warnings_in_active_modelRyuta Kamizono2017-11-102-3/+3
|\
| * Fix "warning: assigned but unused variable - name"yuuji.yaginuma2017-11-101-1/+1
| * Fix "warning: instance variable @attributes not initialized"yuuji.yaginuma2017-11-101-2/+2
* | Add missing requiresyuuji.yaginuma2017-11-101-0/+2
|/
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-099-74/+826
* Execute `ConfirmationValidator` validation when `_confirmation`'s value is `f...bogdanvlviv2017-11-051-1/+1
* Allow passing a Proc or Symbol as an argument to length validator valuesMatt Rohrer2017-10-261-2/+8
* Merge pull request #30920 from lugray/attributes_to_amSean Griffin2017-10-231-0/+89
|\
| * Start bringing attributes API to AMLisa Ugray2017-10-181-0/+89
* | [Active Model] require => require_relativeAkira Matsuda2017-10-216-24/+24
|/
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-2/+2
* Use tt in doc for ActiveRecord [ci skip]Yoshiyuki Hirano2017-08-271-2/+2
* Simplify ActiveModel::Errors#generate_messageViktar Basharymau2017-08-181-7/+5
* [ci skip] Postgres --> PostgreSQLRyuta Kamizono2017-08-081-1/+1
* Talk about bytes not charactersRafael Mendonça França2017-07-311-3/+3
* Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-171-7/+4
|\
| * Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-4/+4
| * Remove unused `Mutex_m` in Active ModelRyuta Kamizono2017-07-141-4/+1
* | Allow multiparameter assigned attributes to be used with `text_field`Sean Griffin2017-07-172-0/+8
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-1651-0/+102
|/
* Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* Fix `ActiveModel::Type::DateTime#serialize`Lisa Ugray2017-07-051-0/+4
* [Active Model] require => require_relativeAkira Matsuda2017-07-016-22/+22
* Fix call-seq typo s/==/<=>/ [ci skip]Ryuta Kamizono2017-06-211-1/+1
* add frozen string literal commentshotat2017-06-151-1/+3
* freeze stringshotat2017-06-141-1/+1
* enhance active model assignmentshotat2017-06-141-2/+3
* Docs: Fix output representation [ci skip]Viktor Fonic2017-05-311-2/+2
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-293-7/+4
* Fix regression in Numericality validator where extra decimal places on Bradley Priest2017-05-271-1/+3
* Fix broken RDoc formattingT.J. Schuck2017-05-261-1/+1
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
* Improving docs for callbacks execution order [ci skip]dixpac2017-05-212-0/+6
* fix ActiveModel::Validator#kind code examples [ci skip]stve2017-05-021-2/+2
* remove uniqueness validators from ActiveModel examplesstve2017-05-022-5/+4
* Fix regexp in the doc [ci skip]Ryuta Kamizono2017-04-241-1/+1
* Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-142-8/+8
* Merge pull request #28661 from bogdanvlviv/fix-dirty-attributes-if-override-a...Aaron Patterson2017-04-141-4/+8
|\
| * Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-121-4/+8
* | :scissors:Ryuta Kamizono2017-04-132-2/+0
|/
* Don't freeze input stringsMatthew Draper2017-04-121-1/+6
* Merge pull request #28632 from kamipo/fix_warning_extra_states_are_no_longer_...Rafael França2017-04-071-4/+4
|\
| * Fix `warning: extra states are no longer copied`Ryuta Kamizono2017-04-011-4/+4
* | No need to check nilTsukuru Tanimichi2017-04-021-1/+1
|/
* Fix ActiveModel::Errors #keys, #valuesbogdanvlviv2017-03-281-11/+6
* Merge pull request #28050 from namusyaka/avoid-converting-int-into-floatRafael Mendonça França2017-03-271-0/+1
|\
| * Avoid converting integer as a string into floatnamusyaka2017-02-181-0/+1