Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml
* bootrapize the user_admin
* now considering user.enabled
* tidy up route
References:
File last commit:
Show/Diff file:
Action:
db/migrate/013_add_url_to_problem.rb
| 9 lines
| 169 B
| text/x-ruby
| RubyLexer
|
|
r19 | class AddUrlToProblem < ActiveRecord::Migration | ||
def self.up | ||||
add_column :problems, :url, :string | ||||
end | ||||
def self.down | ||||
remove_column :problems, :url | ||||
end | ||||
end | ||||