##// END OF EJS Templates
Rails3 compatibility....
Jean-Philippe Lang -
r8263:a03432cbe690
parent child
Show More
@@ -810,7 +810,7 class Project < ActiveRecord::Base
810 810 # Copies queries from +project+
811 811 def copy_queries(project)
812 812 project.queries.each do |query|
813 new_query = Query.new
813 new_query = ::Query.new
814 814 new_query.attributes = query.attributes.dup.except("id", "project_id", "sort_criteria")
815 815 new_query.sort_criteria = query.sort_criteria if query.sort_criteria
816 816 new_query.project = self
General Comments 0
You need to be logged in to leave comments. Login now