Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Ruby
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ruby section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 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
Default 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.
Reply With Quote
  #2 (permalink)  
Old May 14th, 2007, 07:00 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old May 14th, 2007, 09:07 AM
jminatel's Avatar
Wrox Staff
Points: 14,162, Level: 51
Points: 14,162, Level: 51 Points: 14,162, Level: 51 Points: 14,162, Level: 51
Activity: 8%
Activity: 8% Activity: 8% Activity: 8%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,837
Thanks: 51
Thanked 106 Times in 81 Posts
Default

Moved to Ruby forum. :)

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!
Reply With Quote
  #4 (permalink)  
Old May 16th, 2007, 10:30 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

wow! magic....

--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter one doesn't work in rails 2.0.2 wanguan2000 BOOK: Beginning Ruby on Rails 15 May 17th, 2009 12:39 AM
Need Help with Ruby on Rails - Please Help sfazel Other Programming Languages 1 April 8th, 2008 06:03 AM
Beginning Ruby on Rails - chapter 11: Ajax & Rails rornet BOOK: Beginning Ruby on Rails 1 June 22nd, 2007 05:10 PM



All times are GMT -4. The time now is 04:49 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.