Hi,
Is it possible to display the error messages in a particular order of
attributes.
ie in error_messages_for
After validation Name cant be blank etc… can be specify the order of
attributes?
Thanks,
Sharanya
Hi,
Is it possible to display the error messages in a particular order of
attributes.
ie in error_messages_for
After validation Name cant be blank etc… can be specify the order of
attributes?
Thanks,
Sharanya
Hi Sharanya S.
I think you will have to iterate through the @error variable and
arrange it according to your need in controller.Dont know why are you
doing it
Sijo
Sijo k g wrote:
Hi Sharanya S.
I think you will have to iterate through the @error variable and
arrange it according to your need in controller.Dont know why are you
doing itSijo
Thankx
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs