Skip to content

Instantly share code, notes, and snippets.

@bkenny
Last active December 15, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkenny/a32ff4c0e56963240b88 to your computer and use it in GitHub Desktop.
Save bkenny/a32ff4c0e56963240b88 to your computer and use it in GitHub Desktop.

List of Ruby Awesome

Install gems without a specific group

If you had a group in your GemFile e.g.

group :awesome
  gem 'super_awesome
end

You could exclude that with

bundle --without awesome

Wrap objects around nice divs

div_for

<%= div_for(@people, class: "foo") do |person| %>
  <%= person.name %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment