Displaying 2 results from an estimated 2 matches for "find_by_password".
2008 Feb 07
1
field names, aliases and finders.
...:password :UserPWD
end
This doesn''t seem to work because obviously the object doesn''t have a
method called UserPWD.
What is the best way (short of a view) to create field name mappings?
Is it possible to make it so that my finders also work with the new
names so I can type Users.find_by_password rather then
Users.find_by_UserPWD
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2006 Feb 14
6
Creating a String of Random Characters and Numbers
I want to create a random string of length n that is made up of
characters and integers. Is there a function in rails or ruby that
allows me to do this?
Thank you my friend :-).
John Kopanas
http://www.kopanas.com
=====================================================================
http://www.soen.info - source of the freshest software engineering
information on the net