Yves Senn
5c5d5080b7
Merge pull request #13032 from kuldeepaggarwal/after_touch_documentation
...
[ci skip] added after_touch callback documentation [ci skip]
2013-12-12 03:18:24 -08:00
Kuldeep Aggarwal
bdbb5e3a42
[ci skip] added after_touch callback documentation
...
[ci skip] added more explanation for `after_touch` callback
2013-12-12 16:44:03 +05:30
Aayush khandelwal
10fffd7ae6
typos rectified lifecycle => life cycle
2013-12-12 12:55:35 +05:30
Bikram
94e688dde5
The section that mentions after_commit and after_rollback will swallow exceptions should me made clear. Made that section to be a instead of a regular paragraph.
2013-11-28 19:10:49 +00:00
Vijay Dev
216ec8d559
Merge branch 'master' of github.com:rails/docrails
2013-11-07 23:32:47 +05:30
Rashmi Yadav
49062c12ed
exists? is deprecated in ruby trunk [ci skip]
...
see here 4d4ff531b8
2013-11-01 18:07:27 +01:00
Nate Berkopec
cb609b3975
Rephrase ActiveRecord transaction rollback warning
...
[ci skip]
2013-10-16 10:47:37 -04:00
Paul Nikitochkin
2c8bc2cdcd
Use Ruby on Rails Coding Conventions for code examples in the guides
...
* Indent after private/protected
* Ruby >= 1.9 syntax for hashes
* Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks.
[ci skip]
2013-09-06 21:42:29 +03:00
Prathamesh Sonpatki
eb11e350e4
Change the wording to explain following methods skip callbacks [ci skip]
2013-08-19 19:52:46 +05:30
Carlos Souza
ef77d40649
Remove block argument from callback example.
...
[ci skip]
2013-07-13 11:00:42 -04:00
Akira Matsuda
874fbdaad6
1.9 Hash Syntax
2013-07-08 17:21:25 +09:00
Cristian Planas
7451c2f7cc
Adding find_by in guide to methods that trigger after_find
2013-07-01 01:27:44 +02:00
Yves Senn
74bc0d0fd4
update the example for after_commit
in the guides.
...
This is a follow up to #9356 .
2013-02-24 20:43:09 +01:00
Juanjo Bazán
5fb84c6828
remove 'update' duplications
2013-01-08 23:49:29 +01:00
Vijay Dev
f049016cd3
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
guides/source/getting_started.md
2013-01-09 01:04:15 +05:30
Amparo Luna + Guillermo Iguaran
03ac174f2d
Change guides to use update instead of update_attributes
2013-01-03 12:04:25 -05:00
Akira Matsuda
ad8275396a
find_all_by is deprecated in AR 4
2013-01-02 04:42:34 +09:00
Pablo Torres
2cdf6bda4a
Add #destroy! as a method that triggers callbacks
2012-12-12 12:01:37 -05:00
Vijay Dev
0a33fcd68b
Merge branch 'master' of github.com:lifo/docrails
2012-12-08 23:11:37 +05:30
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
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