Re: [Rails] How to display error in view for an instance

2012-07-03 Thread Walter Lee Davis
On Jul 3, 2012, at 1:05 PM, renu mehta wrote: > Walter Davis wrote in post #1067201: >> On Jul 3, 2012, at 1:59 AM, renu mehta wrote: >> >>> >>> instance in the array? >> What do you see if you iterate over the members of the array, like this >> (in a view, just for debugging purposes)? >> >>

Re: [Rails] How to display error in view for an instance

2012-07-03 Thread Walter Lee Davis
On Jul 3, 2012, at 1:59 AM, renu mehta wrote: > Hello, > > How can we display the errors in a view if that view contains one > instance of type member and an array also of instances from the same > model. In my app I have a form which accepts a member data for > registration for a family on the

[Rails] How to display error in view for an instance

2012-07-02 Thread renu mehta
Hello, How can we display the errors in a view if that view contains one instance of type member and an array also of instances from the same model. In my app I have a form which accepts a member data for registration for a family on the top and at the end of the screen in the same form I accept t