Files
codeocean/app/models/lti_parameter.rb
Tom Staubitz 325ea25849 Replaced session[:lti_parameters] with proper LtiParameter object.
Removed all tests that would be failing

TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.

TODO: replace removed tests with proper tests
2016-12-30 09:45:39 +01:00

5 lines
158 B
Ruby

class LtiParameter < ActiveRecord::Base
scope :lis_outcome_service_url?, -> {
where("lti_parameters.lti_parameters ? 'lis_outcome_service_url'")
}
end