|
|
 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Ruby section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

May 14th, 2007, 02:26 AM
|
|
Registered User
|
|
Join Date: May 2007
Location: Bangalore, Karnataka, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi pls help me abt Rails
hi all,
I need to pass the text box values of one file which has .rb as its
extension to textbox of another .rb file.
ie. i have a file named account_controller which maintainsfor login
records ,when a user enter their login id ..this value to be
saved..and i have a schedule_controller where the schedule of that
particular user is maintained..in order rather entering name again in
the schedule form when the user enter their respective name in the
login text field itself it automatically stored up in a session and in
the schedule forms textfield it is displayed in a disabled manner
where it prevents editing of user name...
@data = params[:user_login]
flash[:notice] ="Welcome Admin : #{@data}"
i used these set of codes but its not displaying even in the
form..pls tell me solution for this..
Thanks &Regards,
Geetha.N.
|

May 14th, 2007, 07:00 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 464
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Couple of things.
1. You're probably better off posting in the ruby forum (under open source/ruby) about this kind of thing.
2. Where is params[:user_data] coming from? I'm assuming that it's set in a login form somewhere - in which case you'd need to submit the form before it'll show up.
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk
|

May 16th, 2007, 10:30 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 464
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
wow! magic....
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |