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
References:
File last commit:
Show/Diff file:
Action:
db/migrate/029_add_test_allowed_to_problems.rb | 15 lines | 330 B | text/x-ruby | RubyLexer |
jittat
[web] forgot migration...
r95 class AddTestAllowedToProblems < ActiveRecord::Migration
def self.up
add_column :problems, :test_allowed, :boolean
Problem.reset_column_information
fix migration to work with rails 4 and ruby 2.3
r666 Problem.all.each do |problem|
jittat
[web] forgot migration...
r95 problem.test_allowed = true
problem.save
end
end
def self.down
remove_column :problems, :test_allowed
end
end