issues Search Results · repo:jonmagic/arca language:Ruby
Filter by
4 results
(51 ms)4 results
injonmagic/arca (press backspace or delete to remove)From the rails docs:
Debugging callbacks
The callback chain is accessible via the _*_callbacks method on an object. ActiveModel Callbacks support :before, :after
and :around as values for the kind property. ...
jch
- 4
- Opened on Oct 21, 2015
- #14
It would be nice to split these out into individual tests against individual classes so that adding new lines to the
tested classes don t require updates to every line based assertion.
jonmagic
- 1
- Opened on Oct 19, 2015
- #12
@jch would you be interested in submitting a PR to update the real world example in the README based on your work?
Replacing this bit:
2015-10-19 at 10 14 am
jonmagic
- 1
- Opened on Oct 19, 2015
- #11
For example:
class User ActiveRecord::Base
before_save do
# callback.target_symbol will be reported as `block`
end
before_save lambda {|u| /* this will be `Proc:0x007fa56d1f7330@somepath.rb` ...
jch
- 1
- Opened on Oct 13, 2015
- #9

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.