##// END OF EJS Templates
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/custom_field_test.rb...
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/custom_field_test.rb On Rails2, Errors#[] returns single error if one error raises. But, on Rails3, Errors#[] always returns the array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8139 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6066:d48ea908761d
r8019:2afe5bdf5730
Show More
index.api.rsb
10 lines | 303 B | text/plain | TextLexer
Jean-Philippe Lang
Makes custom queries available through the REST API (#5737)....
r6066 api.array :queries, api_meta(:total_count => @query_count, :offset => @offset, :limit => @limit) do
@queries.each do |query|
api.query do
api.id query.id
api.name query.name
api.is_public query.is_public
api.project_id query.project_id
end
end
end