Displaying 17 results from an estimated 17 matches similar to: "can we take two argument in params"
2006 Apr 18
1
inserting value got problem
Parameters: {"bestandsliste"=>{"typ"=>"bumffer", "KundanName"=>"parikshit", "Abgeholt"=>"", "LieferLand"=>"", "Kaufmann"=>"birla", "Marge"=>"", "Erzieltervk"=>"", "LieferOrt"=>"",
2006 Apr 18
0
undefined method `stringify_keys!'' for "Tue Apr 18 11:26:00 India Standard Time 2006":String
hi all
i am submitting form and i take valu from two text fields.
my controller code is like that
def saleinsert
@verkaufsliste = Verkaufsliste.create(params[:bestandsliste])
@listes = Verkaufsliste.create(params[:verkaufsliste.to_s])
@verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s)
if @verkaufsliste.save
redirect_to :action => ''list''
else
2006 Apr 18
0
Re: undefined method `stringify_keys!'' for "Tue Apr 18 11:26
> @verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s)
I think it''s better to use strftime(''%d %B %Y'') for .to_s.
strftime is a great function that you can redefine easily (in German for
example ;)
++
o_O Pierre Marchet
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
3
how to do form field validation using javascript in rubyonrails
hi all
can any body tell me how to javascript validation in ruby on rails
for form field
thnx in advance
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
2004 Jul 11
0
Wh uses H.323-clients with call transfer?
Hi,
we intend to use innovaphone's IP200 full standard compliant H.323 hardware phones (great!) with asterisk.
Everything works perfect (calls, signalling, talking) until we want to perform a call transfer (H.450).
Upon pressing the R-key the first connection is hung up immediately. As gatekeeper we use a IP400-box OR GnuGK, same result with both...
So, who has experience or uses
2014 May 27
1
[HCL] GRAFENTHAL PR-3000-HS supported by snmp-ups
Dear NUT Developer Team,
we wish to report a compatible product with your software.
Product:
PR-3000-HS
SNMP/Web Minislot card (ref 149G0006)
Manufacturer:
GRAFENTHAL GmbH
Test Environment:
Version: NUT Windows 2.6.5-3
OS: Microsoft Windows Server 2012 (NT Version 6.2 Build 9200)
NUT mode: standalone
Please find the NUT configuration files, output logs and the shutdown sequence in the
2006 Apr 06
2
how we can GET and POST values
hi all
how we can do get and post value.
i made one form and in this form their is two field loginname and password.and when i click on submit button than i t should verify from database and than the next page will arrive .how i can do that.
how i can post value and than get it from that from and check .plese tell me yhis all in rubyon rails.
hope for reply
bye
2006 Apr 06
1
array
hi all
i download the ruby on rails and i did example of recipe.
any body can tell me how we can authenticate thisrecipe page .imean to say only the valid user can vies the page.
means how we can get value from forms text field and send it to controller.
and how can we check
thanx in advanced
2006 Jul 03
4
Printing - using WINE
Hello out there,
perhaps anybody has some idea for my problem.
I've had several nice successes with WINE. GoogleEarth e.g. or some of
my old tools of the windows-times.
Now yesterday I've sent my tax-declaration (in Germany: ElsterFormular)
to the tax-administration, online. BUT: I couldn't print the
declaration!! NOTHING at all happened.
I havn't ever tried to print, it was not
2006 Mar 31
1
Asterisk, QSIG and Tenovis PBX?
Hi,
we are still trying to properly connect a Tenovis PBX to an Asterisk server
(asterisk 1.2.6, libpri 1.2.2, zaptel 1.2.5, Digium Wildcard TE110P), this
time with QSIG.
Calling from a Tenovis phone to a SIP phone (i.e. traditional phone ->
Tenovis PBX -> QSIG -> Asterisk -> SIP phone) works with the following
messages:
---
Don't know what to do if second ROSE component is of
2002 Jun 12
0
Win2k oplocks and you
Hello list!
I've seen the threads in this months archives on oplock issues, so I
hope I am not hitting a sore spot by bringing it up again. The reason I
am beating on this is that I've got a testable, repeatable issue with
Win2K terminal server (SP2) running CorelDRAW 10 (patched to current)
against a Debian Woody box running Samba 2.2.3a-6 for Debian. Since I
can repeatedly test the
2006 Nov 04
1
Only one out of 10 remote extensions expiring registry
I have about 20+ phones on a server, all set for registry expiry 1 min. But
only this one, with 2 accounts, keeps re-registerting itself. All the time
this is what I see on asterisk CLI and it is kind of annoying. What only
this phone does this and no other. Its on a remote location. All phones are
Grandstream GXP-2000.
-- Registered SIP '502' at 64.101.221.250 port 18639 expires 60
2006 Apr 07
0
how we can show the action of different model
hiiiiiiiii
Actually i am doing with one login form.
i verify it with the database value.
def valid
if request.post?
@user = Login.new(params[:login])
end
@logins= Login.find_all
end
now i write in valid.rhtml
"Recipetest/list" %>
**************************************************
I have two tables logins and recipetests.
so if in
2006 Apr 12
1
Dynamically updating list
hi every body. i am try to do example of agil books.dynamically updating list of chapter 18.
1)this is my code for controller----
class ListnoajaxController < ApplicationController
def index
@items = Item.find_recent
end
def add_item
item = Item.new(params[:item_body])
render(:partial => "item", :object => item)
end
def item
end
end
2)the code for item class in app/model
class
2006 Apr 14
0
how to make template
hi
all
how to make template in rails.
means i want one exact window for all my .rhtml pages in app/view.
so should i make in all file or in only one.
means i m just comparing dream viewer and this rails for applying template
thanx in advance
2006 Apr 18
0
how to inser value of datetime_select value in database
hi all
how to insert datetime_select value in database.
i have two fields in my form.rhtml
can any body tell how i can get this value.
i used in controller
def insert
@order=Order.new(params[:stock])
if @order.save
render_text "record inserted"
end
end
but it only enter stock name not date time value