[ci skip] Replace touch method to running callbacks list #12836

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

sbagdat commented Nov 10, 2013

touch method was listed in Skipping Callbacks list, but it triggers after_touch callback, so I replaced it.

@sbagdat sbagdat Replace touch method to running callbacks list
`touch` method was listed in *Skipping Callbacks* list, but it triggers `after_touch` method, so I replaced it.
658bddd
Contributor

JuanitoFatas commented Nov 11, 2013

Saves the record with the updated_at/on attributes set to the current time. Please note that no validation is performed and only the after_touch callback is executed. –– from ActiveRecord::Persistence

sbagdat added some commits Nov 10, 2013

@sbagdat @sbagdat sbagdat Replace touch method to running callbacks list
`touch` method was listed in *Skipping Callbacks* list, but it triggers `after_touch` method, so I replaced it.
8994833
@sbagdat sbagdat Merge branch 'patch-1' of https://github.com/sbagdat/rails into patch-1 8c74d76

sbagdat closed this Nov 11, 2013

sbagdat deleted the unknown repository branch Nov 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment