Displaying 10 results from an estimated 10 matches for "hi_naroor".
2005 Dec 15
12
Adding multiple invoice items to an invoice on the same form
Hi Friends ,
Got a unique requirement .I am designing a invoice printing system
.So right now I have the NEW page for adding the invoice details to the
table .Now I have the requirement of adding Invoice Items In the same
form .I have added multiple text boxes to enter the values of the Items
using
<%= text_field ''invoiceitems[]'', ''item_price''
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
4
Adding extra value to an object
Hello friends ,
I have a clear method here ::
def create
@invoiceitems = Invoiceitems.new(params[:invoiceitems])
@invoiceitems["invoice_id"] = params[:id]
if @invoiceitems.save
flash[:notice] = ''Invoiceitems was successfully created.''
redirect_to :action => ''new'',:id => params[:id]
else
render :action =>
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 16
3
Not able to put into a object variable
hello friends ,
I was trying to select all the invoice items from the table 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,
2005 Dec 16
2
Is this possible?
Hello Friends,
def new
@invoiceitems = Invoiceitems.new
@oldinvoiceitems = Invoiceitems.find(:all, :conditions
=>[''invoice_id = :invoiceid'', { :invoiceid => params[:id] } ]
end
Error is being shown in the line number with ''end''.
This is for initialising a new invoiceItems object and also finding and
storing all the invoice items for a
2005 Dec 19
1
Disabling input Text box
Hi friends ,
I want to disable the text box we use in ruby on rails .How can I add
the disabled keyword inside <%= text_field ''invoice'', ''inv_amount''
,"size"=> 15 %> .
I tried <%= text_field ''invoice'', ''inv_amount'' ,"size"=> 15 ,"disabled"
%>
Thanx and regards,
Naroor
2005 Dec 20
0
Dynamic fields creation and accessing data
Hi friends ,
I was trying this code and finding some errors.I am trying this to
implement dynamic creation of invoice items in invoices using AJAX
.Please go thru .
I added a partial ::
<% @invoiceitem = invoiceitem -%>
<%= text_field ''invoiceitem'', ''item_price'', ''index'' =>
invoiceitem_counter %>
<%= text_field
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/.