Ruby on Rails Friday, June 1, 2012

Hi


Please format your question properly.

On Fri, Jun 1, 2012 at 4:20 PM, rocky <asharma182@gmail.com> wrote:
i have created a web page localhost:3000/subjects in rails and a
button is there.....if i click the button then only the content inside
the html changes....the whole page will not refresh...like if sample
button is there in the same page and when i clicked it it list of the
subjects but i am in same localhost:3000/subjects and i am using
jquery function to do this....can this be possible???if yes then how
will i do...if not then xplain why not???

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
- Aziz M. Bookwala

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Ruby on Rails

i have created a web page localhost:3000/subjects in rails and a
button is there.....if i click the button then only the content inside
the html changes....the whole page will not refresh...like if sample
button is there in the same page and when i clicked it it list of the
subjects but i am in same localhost:3000/subjects and i am using
jquery function to do this....can this be possible???if yes then how
will i do...if not then xplain why not???

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Ruby on Rails

On 1 June 2012 04:31, flaps <flaps2007@gmail.com> wrote:
> THanks for your response. The validation methods are not called on a
> create, allowing the save method to be called, unprotected. I dont
> want the save to be called let alone fail.

Is there any chance you could post your controller code. I wonder
whether you've got a ".save false" in the create action...

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.