search for: rathish

Displaying 12 results from an estimated 12 matches for "rathish".

Did you mean: sathish
2005 Dec 15
12
Adding multiple invoice items to an invoice on the same form
...= text_field ''invoiceitems[]'', ''item_qty'' %> etc. How can I save the multiple items in the same form .I have to insert the invoice details and the invoice items on the same button click. Waiting for the comments and suggestions , Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2006 Apr 07
2
Installing RoR locally
hi friends, How can i install ruby on rails locally .I mean I dont have internet access in my system and want to install Ror .Please help me out . Thanking you, Naroor Rathish -- Posted via http://www.ruby-forum.com/.
2005 Dec 28
2
disabling text_field
Hi , Anyone knows how we can disable <% text_field %> . Thanx, Rathish -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
3
Not able to put into a object variable
...le invoiceitems with a condition.But I am getting a NULL array .Please help me in fixing this :: @oldinvoiceitems = Invoiceitems.find(:all, :conditions => [''invoice_id = :invoiceid'', { :invoiceid => ''params[:id]'' } ] ) Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
4
Adding extra value to an object
...In the table invoiceitems I have a field called invoice_id which is a foreign key and the primary key of the table invoices. I need to save the invoiceid which is in the URL itself (params[:id]) before saving .How can I do it . The above method is not storing that . Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
2
Is this possible?
...#39;. This is for initialising a new invoiceItems object and also finding and storing all the invoice items for a particular invoice id .I will be having a page ''new'' where all the previous invoice items can be stored (displayed) and new ones can be added . Thanking you, Naroor Rathish -- Posted via http://www.ruby-forum.com/.
2005 Dec 19
1
Disabling input Text box
...led keyword inside <%= text_field ''invoice'', ''inv_amount'' ,"size"=> 15 %> . I tried <%= text_field ''invoice'', ''inv_amount'' ,"size"=> 15 ,"disabled" %> Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2005 Dec 23
1
key value pairs working
Hi, can anyone tell me how is the following lines in ruby works on rails .how is the key value pairs accessed by rails . params[:invoiceitem].each do |key, val| @invoice.invoiceitems << InvoiceItem.new(val) end Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2005 Dec 15
4
Newbie questions about Rails on Windows
My background is Windows development using Visual Studio and I''m trying to get up to speed with Ruby on Rails, so please excuse these basic questions. I''ve downloaded InstantRails and can run the sample application - so Apache, MySQL, Ruby etc. are working. Where''s the "development environment"? Where do I go to edit files, create models and controllers
2005 Dec 20
0
Dynamic fields creation and accessing data
...render(:partial => ''invoiceitems'', :collection => @invoice_items) end def save_items @items = [] params[:invoiceitem].each do |key, item| @items = InvoiceItem.new(item) end end Please help my in implementing this requirement . Thanks and regards, Naroor Rathish. -- Posted via http://www.ruby-forum.com/.
2005 Dec 23
0
adding items to a particular invoice on the same page
...r_text "hello" end end end The model classes Invoice.rb class Invoice < ActiveRecord::Base has_many :invoiceitems belongs_to :company end Invoice Items class Invoiceitems < ActiveRecord::Base belongs_to :invoice end Hope some body can help me out . Thanking you, Naroor Rathish