-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Achievement condition validations #425
Achievement condition validations #425
Commits on Jul 29, 2015
-
Fixed bugs with achievement page
Added missing table headers Published status was shown regardless of ability to manage achievements
Configuration menu - View commit details
-
Copy full SHA for da4454b - Browse repository at this point
Copy the full SHA da4454bView commit details -
Added
title
method to conditionsFor use in polymorphic contexts where all require is the human-readable anme of the condition
Configuration menu - View commit details
-
Copy full SHA for ffe952b - Browse repository at this point
Copy the full SHA ffe952bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acd24a7 - Browse repository at this point
Copy the full SHA acd24a7View commit details -
Added validations for achievement conditions
This ensures that there cannot be duplicate or self-referential achievement conditions
Configuration menu - View commit details
-
Copy full SHA for 05dbfd2 - Browse repository at this point
Copy the full SHA 05dbfd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06fdcce - Browse repository at this point
Copy the full SHA 06fdcceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28989ed - Browse repository at this point
Copy the full SHA 28989edView commit details -
Added non-null constraints to condition fields
Conditions must be associated with a conditional. Achievement conditions must be associated with an achievement.
Configuration menu - View commit details
-
Copy full SHA for 3046664 - Browse repository at this point
Copy the full SHA 3046664View commit details -
Removed course_condition factory
It fails FactoryGirl linting because it doesn't declare the now non-null `conditional` association. Since it cannot be directly instantiated, and the factories for things which act_as conditions do declare `conditional`, it isn't needed.
Configuration menu - View commit details
-
Copy full SHA for e6a0f0d - Browse repository at this point
Copy the full SHA e6a0f0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e751d - Browse repository at this point
Copy the full SHA 61e751dView commit details