Module: Shortcuts::Helpers::Db
- Included in:
- Shortcuts::Helpers
- Defined in:
- lib/shortcuts/helpers/db.rb
Instance Method Summary collapse
Instance Method Details
#have_db_columns(columns = []) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/shortcuts/helpers/db.rb', line 3 def have_db_columns(columns=[]) columns.each do |column| if @not should_not have_db_column column else should have_db_column column end end end |