Displaying 6 results from an estimated 6 matches for "some_param".
Did you mean:
some_params
2012 Sep 30
2
Run ruby web app from command line
...he same function that on web is
been handled by the form controller.
How can I re-use the web app when doing a standalone program callable
from command line? I dont want to recode as all the app is already
functioning. I am requested to do a ruby program that is called like
this:
ruby ./client.rb some_param
Where should I put this client.rb? How do I use the code from the
application that runs on the web?
--
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/Ez...
2006 May 10
2
trouble creating new records
Is it possible to create / save a new record from a controller other than the one I specified when I created the scaffolding?
My situation is that I have two tables. Emrecs is the parent. Actors is the child and has a foreign key named emrec_id that references emrec.id. I scaffolded both, creating controllers and views for each. My app collects info from the user to fill in the two tables,
2007 Oct 19
2
program calls system() gettind PID - slightly off topic
I have a C program on centos. When I call system("some_program &");
how do I get the PID of the some_program?
I cant just list processes as there might be more than one some_program
active.
I need to know the one that I just started.
Thanks,
Jerry
2009 Mar 17
11
Refactoring module
Dear all
Please see the following module, In module SX3 SX4 and SX5 have similar
class Tasklist, but inherit from different class.
I will use the following code to connect to different data sources
RemoteSX3Model.establish_connection sx3_hash
RemoteSX4Model.establish_connection sx4_hash
RemoteSX5Model.establish_connection sx5_hash
How can I refactor my code in module to look simpler? Thank you
2006 Mar 29
6
Simply Getting Post Params
I am a complete Rails newbie and am trying to understand how I can
simply get the data from a password field in a form that is not mapped
to a field in the database.
The scenario is this. I have a User model that is mapped to a table
users with the following fields: username, email_address, password and
join_dt. Following pretty closely to the login section in the Agile Web
Development with
2006 Apr 06
9
How to get Form values in RubyOnRails
Hi
I want the FORM values on my controller.i.e. I want the values of login_loginname(Form variable) and login_password(Form variable) on login_controller.rb
How can i do that?
Table Name is: logins
Model:: Login.rb
Controller:: login_controller.rb
Below is my test form
loginname
password
Hoping for reply
Regards
Parikshit