That task creates the database, and works unless I have something like
class FitnessClass < Sequel::Model(:classes); end
in which case it no longer works purely because of the (:classes) part.

On Friday, 29 November 2013 21:38:01 UTC+2, Jeremy Evans wrote:
>
> On Friday, November 29, 2013 4:56:24 AM UTC-8, Lee Brooks wrote:
>
>> I am using Padrino, and one of my tables in the db is called 'classes', 
>> but Class is already taken in Ruby so I did this:
>>
>> class FitnessClass < Sequel::Model(:classes); end
>>
>> The moment I do that though the Padrino rake sq:create command falls over 
>> with the following error:
>>
>> lee@lee-W150HNM-W170HN ~/Code/mobi_fit $ rake sq:create
>> rake aborted!
>> PG::ConnectionBad: FATAL:  database "mobi_fit_development" does not exist
>>
>
> This error indicates the database with that name does not exist on the 
> PostgreSQL server.  Are you sure it exists?  Did you create the database 
> before running that rake task, or is that rake task itself supposed to 
> create the database (I don't have any experience with the Padrino rake 
> tasks)?
>
> Thanks,
> Jeremy
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to