newbie? --- how to join two columns

12 views
Skip to first unread message

the_guru

unread,
Dec 30, 2008, 2:36:20 PM12/30/08
to Ruby on Rails Bangladesh
Hello,

1.In my User model i want to join all the users first name and the
last name.
2. how to create a named route with _ first name and last name by
find_user_by_fullname..
3. Should i save the full name of a user as an other attribute for
easy routing and other stuff?

the_guru

unread,
Jan 2, 2009, 1:19:42 PM1/2/09
to Ruby on Rails Bangladesh
SomeOne PLZ Help :)

Arif

unread,
Jan 2, 2009, 10:55:15 PM1/2/09
to Ruby on Rails Bangladesh
Hi Rajib,
If you don't get your answer here please post or search your questions
at http://www.railsforum.com/ first. That is the biggest rails forum.

For named routes following might help:
www.railscasts.com/episodes/79
www.railscasts.com/episodes/34
http://weblog.jamisbuck.org/2007/1/22/named-explicit-routes


-Arif

nhm tanveer hossain khan

unread,
Jan 3, 2009, 5:43:26 AM1/3/09
to rubyonrails...@googlegroups.com
hi,
use fullname that would be better and lot easier.

best wishes,
--
----------------------------------------------------
nhm tanveer hossain khan (hasan)
http://hasan.we4tech.com
----------------------------------------------------
mobile: +880 1713 090 511
aawaj: hasan15422
----------------------------------------------------
"work for fun"
"you think you are silly because you are not in right circle"
"all human beings are entrepreneurs" - m. yunus
Reply all
Reply to author
Forward
0 new messages