Skip to content

add require to suppress warning; remove variable #10080

merged 1 commit into from Apr 3, 2013

2 participants

Ruby on Rails 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
Ruby on Rails 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
Something went wrong with that request. Please try again.