Displaying 3 results from an estimated 3 matches for "dattatraya".
2006 Mar 22
3
Something wrong with content_columns
...added to the spares table however the list action does not show
all the columns in the table. It only shows those columns that are not
foreign keys. I am using the default action generated by scaffold for
list.
Why is that so? Do i need to re-write my own code for the view?
Thanks in advance
--
Dattatraya
-------------------------------------------------
Work fascinates me, I can stare at it for hours...!!
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt):
def try_to_authenticate
User.authenticate(self.username, self.password)
end
..
private
def self.hash_password(password)
Digest::SHA1.hexdigest(password)
end
def self.authenticate(username, password)
@user = User.find(:all, :conditions => ["username = ? AND
password = ?",
2006 Mar 22
0
Another Problem with params
...Rails@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
>
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
--
Dattatraya
-------------------------------------------------
Work fascinates me, I can stare at it for hours...!!