Flowdock

Notes posted by rogerdpack

RSS feed
August 19, 2014
0 thanks

callbacks

As a note, AFAICT, this skips “validations” but does still run all callbacks still [like after_save, etc.] So if you’re looking for something that just updates see here: http://stackoverflow.com/a/7243777/32453

March 10, 2014
0 thanks

gives a parameter

As a note, you can use it like this:

after_save {|instance|

}

it will pass in the instance being saved.