add require to suppress warning; remove variable #10080

Merged
merged 1 commit into from Apr 3, 2013

Projects

None yet

2 participants

@vipulnsward
Member
  1. add require to expose to_d method and suppress warning
  2. drop unnecessary variable assignment

Not so sure about 1. but wanted to propose the change

@steveklabnik steveklabnik merged commit 81ed4f5 into rails:master Apr 3, 2013
@steveklabnik
Member

Nice! I was investigating the to_d issue, this is nicer.

@vipulnsward vipulnsward deleted the vipulnsward:railties_warning_fix_v2 branch Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment