Email Address:richardlenawa...@gmail.com
Hi,
I'm developing a heavy project using Ruby on Rails, and I already have a
big database schema in my sublime text,but my database has a dozen of
fields of tables which are sometimes very tiresome when scaffolding such
as £rails g scaffold profile
Email Address:richardlenawa...@gmail.comJason Fleetwood-Boldt
@Jasonfb, i guess i did alot of research on ruby on rails as far
scaffolding is concern, but you find when it comes on real world
boilerplate applications..it's kind of a nightmare when we try oldschool
method 'scalfolding' because
Sebastian wrote in post #599469:
Hi,
first of all I will apologize in advance for my presumably noobish
question, but I'm only starting to learn Rails and am a little
confused with all the changes in 2.0.1. There are as good as no
tutorials out yet and the 2 or 3 screencasts I've seen deal
Just another quick solution. You can generate the Ruby
scaffolding commands using SQL out of the database. Just access
sys.columns or whatever your particular database provides
(INFORMATION_SCHEMA or something). For each column, generate that line
that Ruby wants for a column / table entry.
Mr Mapes wrote in post #613756:
Ryan Bigg wrote:
New way is to specify the fields.
script/generate scaffold person first_name:string last_name:string
I'm considering Ruby on Rails, but I already have a big database schema,
and I'd rather not re-type firstname:string lastname:string, for
Mr Mapes wrote:
Ryan Bigg wrote:
New way is to specify the fields.
script/generate scaffold person first_name:string last_name:string
I'm considering Ruby on Rails, but I already have a big database schema,
and I'd rather not re-type firstname:string lastname:string, for the
dozens
6 matches
Mail list logo