Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix custom validation methods section in AR validations and callbacks guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -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 guide | Florian Walch | 2011-11-05 | 1 | -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 guide | Vijay Dev | 2011-11-02 | 1 | -10/+2 |
| | |||||
* | copy editing | mhutchin | 2011-10-09 | 1 | -1/+1 |
| | | | | "updated the ajax_on_rails.textile for rails3" | ||||
* | Correct stylesheet filename and remove reference to old stylesheet ↵ | mhutchin | 2011-10-08 | 1 | -1/+1 |
| | | | | compilation location | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Manuel Menezes de Sequeira | 2011-10-05 | 1 | -3/+1 |
|\ | |||||
| * | copy editing | Vijay Dev | 2011-10-05 | 1 | -3/+1 |
| | | |||||
* | | Correction of code snippet tag from shell to ruby. | Manuel Menezes de Sequeira | 2011-10-05 | 1 | -2/+2 |
|/ | |||||
* | Corrections to Active Record Validations and Callbacks guide. | Hendy Tanata | 2011-10-05 | 1 | -3/+3 |
| | |||||
* | More corrections and clarifications to the Active Record Validations and ↵ | Manuel Menezes de Sequeira | 2011-10-04 | 1 | -39/+52 |
| | | | | Callbacks guide. | ||||
* | Several small corrections and clarifications to the Active Record ↵ | Manuel Menezes de Sequeira | 2011-10-03 | 1 | -16/+18 |
| | | | | Validations and Callbacks guide. | ||||
* | Fixing incorrect notextile tags | Vijay Dev | 2011-09-16 | 1 | -2/+2 |
| | |||||
* | No more changelogs inside guides | Vijay Dev | 2011-09-15 | 1 | -11/+0 |
| | |||||
* | Moved strict validation changelog entry to right place | Bogdan Gusiev | 2011-08-25 | 1 | -1/+0 |
| | |||||
* | Add strict validation example to guides | Bogdan Gusiev | 2011-08-24 | 1 | -0/+1 |
| | |||||
* | Fix formatting of active_record_validations_callbacks.textile so guide will ↵ | Jeff Dutil | 2011-08-16 | 1 | -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/compact | Vijay Dev | 2011-08-13 | 1 | -4/+6 |
| | |||||
* | remove some parts of the section on shortcut helpers, document custom validators | Vijay Dev | 2011-08-13 | 1 | -59/+45 |
| | |||||
* | Association and Callbacks guide: Added section on shortcut syntax 'validates'. | Alberto Perdomo | 2011-07-28 | 1 | -0/+55 |
| | |||||
* | Changed several instances of British English to be American English | Evan Farrar | 2011-07-23 | 1 | -3/+3 |
| | |||||
* | fix incorrect validation examples | Vijay Dev | 2011-06-08 | 1 | -5/+5 |
| | |||||
* | Validations guide: order of :after_save callback was incorrect. | Mariusz Pękala | 2011-06-06 | 1 | -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 ↵ | brianp | 2011-06-02 | 1 | -0/+2 |
| | | | | method does not fire either validations or callbacks as stated in the docs. | ||||
* | s/an/a/ | Akira Matsuda | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | prefer validates :x in place of validates_x_of | Vijay Dev | 2011-05-26 | 1 | -25/+25 |
| | |||||
* | fixed minor errors | Vijay Dev | 2011-05-26 | 1 | -3/+4 |
| | |||||
* | changes validates_format & numericality to newer syntax | Vijay Dev | 2011-05-25 | 1 | -6/+6 |
| | |||||
* | changes validates_inclusion & exclusion to newer syntax | Vijay Dev | 2011-05-25 | 1 | -7/+7 |
| | |||||
* | changes validates_length_of to newer syntax | Vijay Dev | 2011-05-25 | 1 | -17/+14 |
| | |||||
* | changes validates_confirmation_of to newer syntax | Vijay Dev | 2011-05-25 | 1 | -4/+4 |
| | |||||
* | changes validates_acceptance_of to newer syntax | Vijay Dev | 2011-05-25 | 1 | -2/+2 |
| | |||||
* | changes validates_uniqueness_of to newer syntax | Vijay Dev | 2011-05-25 | 1 | -4/+4 |
| | |||||
* | changes validates_presence_of to newer syntax | Vijay Dev | 2011-05-25 | 1 | -9/+8 |
| | |||||
* | fix incorrect textile syntax | Vijay Dev | 2011-05-25 | 1 | -2/+2 |
| | |||||
* | fix block alignment | Vijay Dev | 2011-04-23 | 1 | -2/+3 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-19 | 1 | -0/+15 |
|\ | | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile | ||||
| * | Added information about grouping conditional validations | Michal Papis | 2011-04-16 | 1 | -0/+15 |
| | | |||||
* | | Update scaffold controller to generate scss file if Sass is available | Prem Sichanugrist | 2011-04-15 | 1 | -1/+1 |
|/ | |||||
* | AR validations and callbacks guide: put update_attribute back | Xavier Noria | 2011-03-27 | 1 | -0/+2 |
| | |||||
* | Updated guides for new #update_column. | Sebastian Martinez | 2011-03-26 | 1 | -2/+2 |
| | |||||
* | move the tips about :allow_(nil|blank) near their explanations, also no need ↵ | Xavier Noria | 2011-03-14 | 1 | -3/+5 |
| | | | | to say these are options for all validators if they are not | ||||
* | update plugin urls to reflect official maintainers | Vijay Dev | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | Add a note to discourage users from using presence validators with ↵ | Jeff Kreeftmeijer | 2011-03-09 | 1 | -1/+3 |
| | | | | allow_(nil|blank) | ||||
* | Pointing out that dynamic_form plugin must be installed to be able to use ↵ | Rodrigo Navarro | 2011-03-05 | 1 | -1/+14 |
| | | | | error_messages and error_messages_for view helpers. | ||||
* | standardize all shell commands with the $ prefix | Vijay Dev | 2011-02-25 | 1 | -1/+1 |
| | |||||
* | Fixing wrong class name. | Rodrigo Navarro | 2011-02-23 | 1 | -1/+1 |
| | |||||
* | ActiveModel::Validator#validate must receive have a record parameter. | Rodrigo Navarro | 2011-02-23 | 1 | -6/+3 |
| | |||||
* | Add description of transaction callbacks to ActiveRecord callbacks guide. | Brian Durand | 2011-02-17 | 1 | -0/+35 |
| | |||||
* | Add note that validates_length_of will incorrectly pluralize min. length 1 | Kevin Skoglund | 2011-02-07 | 1 | -0/+2 |
| | |||||
* | It should be ActiveModel::Validator, not ActiveRecord::Validator. | Elben Shira | 2010-12-14 | 1 | -1/+1 |
| |