Skip to content

Instantly share code, notes, and snippets.

View blueming's full-sized avatar
💭
Reading

blueming blueming

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