Try this:
https://gist.github.com/1133491
On Mon, Aug 8, 2011 at 10:36 PM, praveen k. li...@ruby-forum.com wrote:
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%'
On 9 August 2011 06:36, praveen k. li...@ruby-forum.com wrote:
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%' +
params[:number]+'%'])
Hi,
please can anyone help me with this codewhen i am executing the
following code, i am getting the error.
code:
@animals=Bird.find(:all,:conditions =['state like?', '%' +
params[:number]+'%'])
@ani=@animals.find(:all,:conditions =['city like?', '%bad%'])
error:
wrong number of
I'm new with RoR.
I have a simple migration file:
class CreateClubs ActiveRecord::Migration
def self.up
create_table :clubs do |t|
t.columns :name, :string
t.columns :ref, :string
t.columns :description, :string
t.columns :local, :string
t.timestamps
4 matches
Mail list logo