Displaying 2 results from an estimated 2 matches for "phylomorti".
Did you mean:
phylomortis
2006 Jun 25
3
Dummy field in a model
I want to have a field in model, which I''m not storing in a database.
And I want to do something like the following in the model code :
validates_format_of :field_NOT_in_db, :with => session[:field]
How can I do it ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2006 Feb 05
3
attr_accessor help understanding
i''m having trouble understanding the attr_accessor and attr_accessible
syntax in models. I''m workink through the Agile book and even a look at
the ruby doc does not really help to clarify.
Thanks aftershock
--
Posted via http://www.ruby-forum.com/.