On Oct 5, 4:01 pm, Jay Pangmi <[EMAIL PROTECTED]>
wrote:
> Hi, among lots other confusions herez one.. I found two kinda similar
> (:to me) =>
> script/generate model business name:string address:string
> location_id:integer
> AND
> script/generate scaffold business name:string address:string
> location_id:integer
>
> but with model I couldn't do this:http://localhost:port-number/businesses
>
> but with scaffold this url came with the option to give input which is
> saved in the database.
>
> So, I don't use model but scaffold. So, can someone plz lighten me up on
> this. thnx..
model just genenates the model. Scaffold generates a controller and
views too.
Fred
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---