please help me ,what problem is going on there.............

mane od database is "store_development"


C:\InstantRails-2.0-win_2\rails_apps\store>rake db:migrate
(in C:/InstantRails-2.0-win_2/rails_apps/store)
rake aborted!
syntax error on line 4, col 2: `  database: store_development'

(See full trace by running task with --trace)

On 07/08/2010, pravin mishra <[email protected]> wrote:
> please help me ,what problem is going on there.............
>
> C:\InstantRails-2.0-win_2\rails_apps\store>rake db:migrate
> (in C:/InstantRails-2.0-win_2/rails_apps/store)
> rake aborted!
> syntax error on line 4, col 2: `  database: store_development'
>
> (See full trace by running task with --trace)
>
> On 07/08/2010, Chad Weier <[email protected]> wrote:
>> Hi, real newbie question.
>>
>> How come this wont save to the database!
>>
>>          <%= select(:to_time_unit, 'id', @time.timearray) %>
>>
>> to_time_unit is the column is the database that is to hold the selected
>> time unit.
>> 'id' is just somethign I made up I dont know whether it is relevant
>>
>> @time.timearray gets a method from the model that lists an array of
>> times
>> -second
>> -minute
>> -hour
>>
>> However when I submit my form that holds this select field, it does not
>> save it to the database, it enters null into the database.
>>
>> What am I doing wrong please help me!
>> --
>> 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 this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to