Skip to content

Instantly share code, notes, and snippets.

@mrpunkin
Created February 23, 2012 00:53
Show Gist options
  • Save mrpunkin/1888829 to your computer and use it in GitHub Desktop.
Save mrpunkin/1888829 to your computer and use it in GitHub Desktop.
module BreakBlank
def blank?
return to_a.blank?
end
end
ActiveRecord::Relation.send(:include, BreakBlank)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment