1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Henrik Nyh
045f0195e0 Validations guide: validates_with init clarification.
As discussed with @josevalim on Ruby Rogues Parley.
2013-02-09 15:47:22 +01:00
Anton Cherepanov
31143a4ad3 Update guides/source/active_record_validations.md
Duplicated `update`
2013-01-15 22:54:21 +06:00
Amparo Luna + Guillermo Iguaran
03ac174f2d Change guides to use update instead of update_attributes 2013-01-03 12:04:25 -05:00
Colin Kelley
52691c369c removed TIP: :allow_nil/:allow_blank is ignored by the presence validator
These tips were documenting an inconsistency issue https://github.com/rails/rails/issues/8621. That issue is resolved by https://github.com/rails/rails/issues/8622.
2012-12-26 17:02:54 -08:00
Steve Klabnik
8832313ebb Restored 'Working with Validation Errors'
Somehow this got lost in my PRs before. I'm going to re-check all the
guides to make sure this didn't happen again elsewhere.
2012-12-16 11:08:13 -05:00
Vijay Dev
561e5ab82e copy editing [ci skip] 2012-12-15 21:15:05 +05:30
Jay Hayes
948c1e506c Elaborate using inverse_of with presence validation 2012-12-13 14:04:21 -06:00
Jay Hayes
d5badea28c Fix associations presence lost in steve's reformat
55a2820cc6
messes up
cfd324b4b6

Hopefully there is other stuff lost in translation...
2012-12-13 13:58:49 -06:00
Vijay Dev
0a33fcd68b Merge branch 'master' of github.com:lifo/docrails 2012-12-08 23:11:37 +05:30
Katie Oldaker
fc6336d1be Punctuation, capitalization, grammar fixes in rails guides 2012-12-07 16:32:06 -05:00
Katie Oldaker
7c05ea23a0 Fixed grammar in a lot of guide prologues. 2012-12-07 12:50:09 -05:00
Carlos Antonio da Silva
129eac0243 Fix Active Record validation error messages markup in guides
The other way it was not marking the text as italic, it was showing the
underlines as normal text.

Also fixes some code examples indentation and # => marks in Active Model
and Active Record guides.

[ci skip]
2012-12-04 21:05:44 -02:00
Steve Klabnik
55a2820cc6 Here's a few updates to the validations guide. A bunch of small changes,
plus:

* 80 column formats
* replacing the explanation of the dynamic_form gem with the example
  HTML/CSS that Rails scaffolds generate.
2012-12-01 10:25:16 -08:00
Vijay Dev
0181c2da97 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/active_record_validations.md
2012-12-01 23:00:47 +05:30
Steve Klabnik
b659e00baf Split Validations and Callbacks into separate guides.
Two big features that are only barely related in the same guide. Seems
bad.

I did not check references to these guides yet, so some links may need
to be updated.
2012-11-29 15:03:21 -08:00
Renamed from guides/source/active_record_validations_callbacks.md (Browse further)