David Knorr wrote:
> On 16 Apr., 18:10, Vaibhav Deshpande s.net> wrote:
>> How to download the source from rails cast (www.railscasts.com)website,
>> i have seen the will_paginate(episode -51) rails cast but, i unable to
>> download the source coad of that screen cast, p
How to download the source from rails cast (www.railscasts.com)web site,
i have seen the will_paginate(episode -51) rails cast but, i unable to
download the source coad of that screen cast, plz tell me the method to
download or read that coad so that i can understood that coad more
efficiently.
pl
How to render the data from form to controller actions?
This is my controller:-
class ViewController < ApplicationController
def index
end
def new
@txt=params[:txt]
end
end
Index Page:-
New Page:-
View#new
Find me in app/views/view/new.html.erb
Hello <%= @txt %>
<%= l
Andrew Timberlake wrote:
>> I used @date2ss = Date2.find(:all, :conditions => "ID > '"+ @date1 +"'
>> and ID <'"+ @date2+"'") and it works..
>> thanks,
>> Vaibhavi
>> --
>
> You can also use
> Model.find(:all, :conditions => {:date => date1..date2})
>
>
> Andrew Timberlake
> http://ramblingsonr
Darshana Gangwal wrote:
> Darshana Gangwal wrote:
>> Yes, c:\ruby\bin\rake exist..
>> There are two rake files:
>> 1. rake file of type Windows Command Script
>> 2. rake file of type Windows Batch File
>>
>> Is this creating a problem?
> Anybody know's how to solve this error?
> Its urgent!
I want to use the calender control in my application like what i added
in the attachment file for, from date and to date it should display
records but i unable to attach it in ruby on rails application well its
working fine in Dot Net too...
I want to show the records between first and the second
Robert Walker wrote:
> Vaibhav Deshpande wrote:
>> I am very new to ruby on rails programming,
>> I am using the oracle as my database,
>>
>> In my project there r 2 text box fields and in first and second text
>> boxes i want the date field to be enter by the
I am very new to ruby on rails programming,
I am using the oracle as my database,
In my project there r 2 text box fields and in first and second text
boxes i want the date field to be enter by the client and want to
display the record between those 2 dates how can i do the same, plz be
more spec
I contain oracle as my database
having table "oratest11",contails 2 fields as
(id_field(Number),data(varchar2(20)) a sequence as "oratest11_seq" which
is incrementing the value of id_field
My model is as follows:-
class Oratest11 < ActiveRecord::Base
set_table_name 'oratest11'
set_primary_ke
Frederick Cheung wrote:
> On Apr 6, 9:10?am, Vaibhav Deshpande s.net> wrote:
>> I am working with a legacy oracle database. The
>> primary key is not defined as an integer but as a number.
>> This results in a url with an id as a number, such as 1234.0 instead
>>
I am working with a legacy oracle database. The
primary key is not defined as an integer but as a number.
This results in a url with an id as a number, such as 1234.0 instead
of 1234. It works fine, but I would prefer 1234 to be displayed in
the url. I have attempted to redefine the model id metho
I am also having the same prob plz help me if u get the solution
thanks,
vaibhav
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to
Siddick Ebramsha wrote:
> Use the set_primary_key method.
I used this method as follows
class Item < ActiveRecord::Base
set_table_name 'item'
set_primary_key 'id_field'
end
and now its working properly,
Thanks you,
for your good response!!
Keep responding me.
--
Posted via http://w
wrote:
I am using the allready created tables in oracle and connecting to the
ruby on rails model class, i used 'set_table_name 'table name' ' and it
gets connected but, i want to access its records and it has different id
field name as field_id, i want to access its record making field_id
field
vaibh...@gmail.com wrote:
I am using the allready created tables in oracle and connecting to the
ruby on rails model class, i used 'set_table_name 'table name' ' and it
gets connected but, i want to access its records and it has different id
field name as field_id, i want to access its record
15 matches
Mail list logo