It's fun when framework/library APIs make me smile. Check out `ActiveRecord.forty_two` api.rubyonrails.org/classes/Acti...
api.rubyonrails.orgActiveRecord::FinderMethodsReturns true if a record exists in the table that matches the id or conditions given, or false otherwise. The argument can take six forms:
0 reposts1 like