November 5th, 2008, 06:05 AM
Which one to choose - .erb or .rhtml?
I am using rails 2.1.1 and i read that .rhtml is phased out in favor of .erb. In our company's existing rails application ,all the views are saved as .rhtml. Can i still use .rhtml instead of .erb? Are there any special configs?
(see my signature for basic info about me)
Status : Rails Newbie
Description : PHP programmer learning Rails using the e-book Rails for PHP Developer
Rails Version: 2.1.1
OS : Kubuntu 8.04
November 7th, 2008, 07:06 PM
Even though the original extensions i.e. .rhtml and .rxml are not slated to be fully deprecated until Rails 3.0, I would strongly recommend that you start using the new extensions ASAP.
Comments on this post