##// END OF EJS Templates
Rails3: model: user: use ::Query instead of Query...
Rails3: model: user: use ::Query instead of Query Test fails on Rails 3.0. <pre> Error: test_destroy_should_update_wiki_contents(UserTest): NoMethodError: undefined method `delete_all' for ActiveRecord::AttributeMethods::Query:Module app/models/user.rb:602:in `remove_references_before_destroy' test/unit/user_test.rb:298:in `test_destroy_should_update_wiki_contents' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8140 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7136:73d7fa96a398
r8020:312ffe43c7ef
Show More
index.api.rsb
16 lines | 595 B | text/plain | TextLexer
Jean-Philippe Lang
Makes /projects API accept same pagination parameters as other API collection resources....
r4458 api.array :projects, api_meta(:total_count => @project_count, :offset => @offset, :limit => @limit) do
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 @projects.each do |project|
api.project do
api.id project.id
api.name project.name
api.identifier project.identifier
api.description project.description
Jean-Philippe Lang
Adds visibility condition on parent project in API....
r6084 api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible?
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Fixed: error when serializing back objects with custom fields using ActiveResource (#6403)....
r4366 render_api_custom_values project.visible_custom_field_values, api
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 api.created_on project.created_on
api.updated_on project.updated_on
end
end
end