Skip to content

Loading…

Object#returning gone from Rails 3.0.0 RC #28

Open
calamitas opened this Issue · 1 comment

2 participants

@calamitas

Object#returning has been removed from ActiveSupport in version 3.0.0.rc of Rails. You are supposed to use Object#tap now, which is defined in all versions of Ruby supported by Rails 3 and defined in ActiveSupport in earlier versions of Rails so it is safe to always use tap instead of returning.

@lancejpollard

thanks for letting me know, I couldn't find that tap method, now I know :).

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.