Show More
Commit Description:
add golden submit button...
Commit Description:
add golden submit button - When the user submit more than or equal to 100 times the submit button will turn gold - Add golden-btn tag in applications.css.scss
File last commit:
Show/Diff file:
Action:
db/migrate/005_add_index_to_submissions.rb | 9 lines | 224 B | text/x-ruby | RubyLexer |
class AddIndexToSubmissions < ActiveRecord::Migration[4.2]
def self.up
add_index :submissions, [:user_id, :problem_id]
end
def self.down
remove_index :submissions, :column => [:user_id, :problem_id]
end
end