Displaying 2 results from an estimated 2 matches for "srikanthjeeva".
2009 Mar 03
6
Validation - set focus
...in
rails??
or we have to use only javascript.
For example.,
validates_presence_of :username
(assume there is no username given)
after validation, how can i set focus in that particular username
textbox.
is there any way in rails or should i use javascript.
Thanks.
--------
my ror blog
http://www.srikanthjeeva.blogspot.com
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFF...
2010 Feb 24
0
Attachment fu file path
...follows.
/files/<user_id>/photos/1.jpg - while uploading first photo
/files/<user_id>/photos/2.jpg - while uploading second photo
1) Is there any way to make a folder name with user id ?
2) Is there any way to rename the file in sequential order ?
Thanks in advance,
srikanth
http://srikanthjeeva.blogspot.com
--
Posted via http://www.ruby-forum.com/.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from t...