Displaying 2 results from an estimated 2 matches for "cursos_id".
2006 Jun 10
6
table associations
First, thanks to everyone who replied to my pluralization question
from before!
Today I was trying to do what I think is called a "chained accessor".
I have an "events" table and each event has one user. Instead of
seeing the id number for each event''s user, I''d rather display the
names of users instead. I tried to do this:
class Event <
2006 May 09
3
validations erasing the form
Hi there
I have a for with a couple of text_fields. I''m doing some validation
via the model and when the validation "works" I get there was an error
on blah blah
the problem is the form is erased and I have to fill up the form again!
I saw that scaffold keeps the form filled when the validation "works"
but I dont know exactly what''s making it happen!
I would