I am doing migration rails 3.0.5 to 3.2.3 and also changed ruby
versions from 1.8.7 to 1.9.3.
I want override the method
Now i got this error while migrating the application (3.2.3).
alias_method': undefined methodcompute_public_path’ for module
Please give me your valuable suggestions the above issue.
I have done small program. it is working perfectly.
alias_method :old_to_s, :to_s def to_s if self=="one" "coming if " else "coming else" end end