that comment will generate controller, model and migration(used to create
table), you can generate them separately


On Thu, Apr 25, 2013 at 12:12 PM, Jason Hsu, Android developer <
[email protected]> wrote:

> All of the Rails tutorials I've looked at seem to revolve around creating
> a new database and then making the contents of the database accessible
> through the web page.  The URL http://localhost:3000/users gives you
> access to the user list after you enter the following commands:
>
> rails generate scaffold User name:string email:string
> rake db:create:all
> rake db:migrate
>
>
> But what if you already created the user database with data in it?  What
> is the alternative procedure for providing access to the user database at
> http://localhost:3000/users ?
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/8AorzSj8_ZEJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to