Displaying 11 results from an estimated 11 matches for "parikshit".
2006 Apr 06
9
How to get Form values in RubyOnRails
...er.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
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
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 Apr 18
1
inserting value got problem
Parameters: {"bestandsliste"=>{"typ"=>"bumffer", "KundanName"=>"parikshit", "Abgeholt"=>"", "LieferLand"=>"", "Kaufmann"=>"birla", "Marge"=>"", "Erzieltervk"=>"", "LieferOrt"=>"", "Hersteller"=>"birla"}, &qu...
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 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 17
1
can we take two argument in params
hi everybody
i made two tables 1)bestandslistes and 2)verkaufslistes
i have one form given below*****
Hersteller
Kaufmann
Typ
KundenName
''customer'' %>
VK Datum
now in controller i made this code for insert a value in verkaufslistes table*****
@verkaufslistes = Verkaufsliste.new(params[:bestandsliste])
if @verkaufslistes.save
redirect_to
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
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
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