Model folder not created?

15 views
Skip to first unread message

renu mehta

unread,
Jun 2, 2013, 12:40:13 PM6/2/13
to rubyonra...@googlegroups.com
Hello,

I am using Ruby 1.8.7 and Rails 3.0.20. Till last week everything was
working fine but now if give

rails new app

to create a new app, then models folder is not created and if I give

rails g model Post name:string

I get the error message that this model already exists even though
migration folder is empty and there is no model folder at all.

What could have gone wrong?

Thanks.

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Jun 2, 2013, 3:24:41 PM6/2/13
to rubyonra...@googlegroups.com
On 2 June 2013 17:40, renu mehta <li...@ruby-forum.com> wrote:
> Hello,
>
> I am using Ruby 1.8.7 and Rails 3.0.20. Till last week everything was
> working fine but now if give
>
> rails new app
>
> to create a new app, then models folder is not created and if I give

Can you post the complete output from rails new app?

>
> rails g model Post name:string

Again post the complete output please, for the new app, not an existing one.

Colin

>
> I get the error message that this model already exists even though
> migration folder is empty and there is no model folder at all.
>
> What could have gone wrong?
>
> Thanks.
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/293837371fb86f64a1c65df3a0f91dc1%40ruby-forum.com?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages