aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_validations_callbacks.textile
Commit message (Collapse)AuthorAgeFilesLines
* moves the guides up to the root directoryXavier Noria2012-03-171-1309/+0
|
* Document validations and callbacks Array support for :if and :unless optionsJoão Britto2012-03-091-2/+16
|
* move the strict validations to an appropriate section and some edits [ci skip]Vijay Dev2012-02-281-14/+12
|
* Add brief summary of strict validations added in 3.2.Oliver Legg2012-02-271-0/+14
|
* Change AR validation guide to remove ordered hash mention related to AMo::ErrorsCarlos Antonio da Silva2012-02-091-1/+1
|
* Fix callbacks order for destroying an object in validations guideCarlos Antonio da Silva2012-01-251-2/+4
| | | | | Also add around save to creating/updating callbacks order, and fix save example with no validation
* Improve field error proc example in validations guideCarlos Antonio da Silva2012-01-251-7/+2
|
* Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-251-1/+1
| | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* Fix custom validation methods section in AR validations and callbacks guideCarlos Antonio da Silva2012-01-251-2/+14
| | | | | | The methods validate_on_create and validate_on_update are not available anymore in Rails, this removes them from the guide and adds an example on how to use validate with the :on option.
* Fixed after_initialize/after_find guideFlorian Walch2011-11-051-3/+3
| | | | | Defining after_initialize and after_find as ordinary methods like documented in the guide doesn't work with Rails 3.1.1; now macro-style is used here, too.
* minor edits in AR validations guideVijay Dev2011-11-021-10/+2
|
* copy editingmhutchin2011-10-091-1/+1
| | | | "updated the ajax_on_rails.textile for rails3"
* Correct stylesheet filename and remove reference to old stylesheet ↵mhutchin2011-10-081-1/+1
| | | | compilation location
* Merge branch 'master' of github.com:lifo/docrailsManuel Menezes de Sequeira2011-10-051-3/+1
|\
| * copy editingVijay Dev2011-10-051-3/+1
| |
* | Correction of code snippet tag from shell to ruby.Manuel Menezes de Sequeira2011-10-051-2/+2
|/
* Corrections to Active Record Validations and Callbacks guide.Hendy Tanata2011-10-051-3/+3
|
* More corrections and clarifications to the Active Record Validations and ↵Manuel Menezes de Sequeira2011-10-041-39/+52
| | | | Callbacks guide.
* Several small corrections and clarifications to the Active Record ↵Manuel Menezes de Sequeira2011-10-031-16/+18
| | | | Validations and Callbacks guide.
* Fixing incorrect notextile tagsVijay Dev2011-09-161-2/+2
|
* No more changelogs inside guidesVijay Dev2011-09-151-11/+0
|
* Moved strict validation changelog entry to right placeBogdan Gusiev2011-08-251-1/+0
|
* Add strict validation example to guidesBogdan Gusiev2011-08-241-0/+1
|
* Fix formatting of active_record_validations_callbacks.textile so guide will ↵Jeff Dutil2011-08-161-2/+2
| | | | render properly at http://edgeguides.rubyonrails.org/active_record_validations_callbacks.html#displaying-validation-errors-in-the-view
* prefer to use if..end unless the condition is simple/compactVijay Dev2011-08-131-4/+6
|
* remove some parts of the section on shortcut helpers, document custom validatorsVijay Dev2011-08-131-59/+45
|
* Association and Callbacks guide: Added section on shortcut syntax 'validates'.Alberto Perdomo2011-07-281-0/+55
|
* Changed several instances of British English to be American EnglishEvan Farrar2011-07-231-3/+3
|
* fix incorrect validation examplesVijay Dev2011-06-081-5/+5
|
* Validations guide: order of :after_save callback was incorrect.Mariusz Pękala2011-06-061-2/+2
| | | | | | | | The guide was contracting itself. First it stated that 'there is a list of callbacks in order of execution', on the list 'after_save' was placed before 'after_create', and then there was a warning that 'after_save' runs after them. I am not sure about 'around_' callbacks, but let's leave that for another patch.
* Fixed sections regarding validations and callbacks to mention the touch ↵brianp2011-06-021-0/+2
| | | | method does not fire either validations or callbacks as stated in the docs.
* s/an/a/Akira Matsuda2011-06-011-1/+1
|
* prefer validates :x in place of validates_x_ofVijay Dev2011-05-261-25/+25
|
* fixed minor errorsVijay Dev2011-05-261-3/+4
|
* changes validates_format & numericality to newer syntaxVijay Dev2011-05-251-6/+6
|
* changes validates_inclusion & exclusion to newer syntaxVijay Dev2011-05-251-7/+7
|
* changes validates_length_of to newer syntaxVijay Dev2011-05-251-17/+14
|
* changes validates_confirmation_of to newer syntaxVijay Dev2011-05-251-4/+4
|
* changes validates_acceptance_of to newer syntaxVijay Dev2011-05-251-2/+2
|
* changes validates_uniqueness_of to newer syntaxVijay Dev2011-05-251-4/+4
|
* changes validates_presence_of to newer syntaxVijay Dev2011-05-251-9/+8
|
* fix incorrect textile syntaxVijay Dev2011-05-251-2/+2
|
* fix block alignmentVijay Dev2011-04-231-2/+3
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-191-0/+15
|\ | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile
| * Added information about grouping conditional validationsMichal Papis2011-04-161-0/+15
| |
* | Update scaffold controller to generate scss file if Sass is availablePrem Sichanugrist2011-04-151-1/+1
|/
* AR validations and callbacks guide: put update_attribute backXavier Noria2011-03-271-0/+2
|
* Updated guides for new #update_column.Sebastian Martinez2011-03-261-2/+2
|
* move the tips about :allow_(nil|blank) near their explanations, also no need ↵Xavier Noria2011-03-141-3/+5
| | | | to say these are options for all validators if they are not
* update plugin urls to reflect official maintainersVijay Dev2011-03-101-1/+1
|