##// END OF EJS Templates
set default category_id instead of the object (#11665)...
set default category_id instead of the object (#11665) Rails 2.3 still has issues with synchronizing the association_id and association attributes of an object. That means, if you set the association with an object first and then just set the id afterwards, the object wins and the setting of the id gets lost. This is not an issue in Rails >= 3.1 anymore. Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10226 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8974:dc50edae5e27
r10043:14dcefaa97f9
Show More
error_messages.api.rsb
5 lines | 89 B | text/plain | TextLexer
/ app / views / common / error_messages.api.rsb
Jean-Philippe Lang
Adds a template for API error messages so that it does not depend on AR::Errors serialization....
r8974 api.array :errors do
@error_messages.each do |message|
api.error message
end
end