Merged rails-4.1 branch (#14534).

git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Removed deprecated stuff for Redmine 3.0.

git-svn-id: http://svn.redmine.org/redmine/trunk@13483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Removed unneeded :foreign_key option on belongs_to associations.

git-svn-id: http://svn.redmine.org/redmine/trunk@13484 e93f8b46-1217-0410-a6f0-8f06a7374b81
Code cleanup, use array instead of handcrafted update.

git-svn-id: http://svn.redmine.org/redmine/trunk@13485 e93f8b46-1217-0410-a6f0-8f06a7374b81
Add public/plugin_assets directory (#8817).

git-svn-id: http://svn.redmine.org/redmine/trunk@13486 e93f8b46-1217-0410-a6f0-8f06a7374b81
Removed svn:ignore for public/plugin_assets directory (#8817).

git-svn-id: http://svn.redmine.org/redmine/trunk@13487 e93f8b46-1217-0410-a6f0-8f06a7374b81
Set svn:ignore to * for plugin_assets subdirectories (#8817).

git-svn-id: http://svn.redmine.org/redmine/trunk@13488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Adds path to plugin_assets directory in admin/info (#8817).

git-svn-id: http://svn.redmine.org/redmine/trunk@13489 e93f8b46-1217-0410-a6f0-8f06a7374b81
Fixed an SQL error with SQLServer (#14534).

git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81
Replaced Board#topics with a regular method.

git-svn-id: http://svn.redmine.org/redmine/trunk@13491 e93f8b46-1217-0410-a6f0-8f06a7374b81