Merged rails-3.2 branch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-04-25 17:17:49 +00:00
parent 34e20c4373
commit 5e57a1a9d9
457 changed files with 20215 additions and 5352 deletions

View File

@@ -15,6 +15,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require 'builder'
module Redmine
module Views
module Builders
@@ -29,7 +31,7 @@ module Redmine
end
def method_missing(sym, *args, &block)
if args.size == 1 && args.first.is_a?(Time)
if args.size == 1 && args.first.is_a?(::Time)
__send__ sym, args.first.xmlschema, &block
else
super