Skip to content

Instantly share code, notes, and snippets.

View blueming's full-sized avatar
💭
Reading

blueming blueming

💭
Reading
View GitHub Profile
<%= f.submit "Submit", class: "btn btn-primary", data: { disable_with: "Submiting..." } %>
class GroupsController < ApplicationController
def index
@groups = Group.all
end
def new
@groups = Group.new
end