I tried this again with scaffold. When the validation is triggered, Chrome executes index action at the background (right click your browser and view source).
I guess, we have to assume that the http verb being used by chrome appear to be 'GET' rather than 'POST'. Has anyone encountered similar issue?. How did you resolve this?. If not, can it be ignored? To reproduce, do the following ----------------------------------- 1. create table 'mytable' with just one column ( ex: name ) 2. use scaffold -- script/generate scaffold mytable name:string 3. insert a validation in mytable model -- validates_presence_of :name Now, using chrome browser, try to insert a new 'blank' record. This will trigger your model validation. Now right click and view source. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

