Monday, January 31, 2011

[Rails] Reducing redundant columns in tables?

Consider the following scaffold for a virtual machine manager.

rails g scaffold virtualmachine total_memory:integer
total_disk:integer
rails g scaffold plan title:string price_usd:integer
max_memory:integer max_disk:integer

Now this is greatly simplified however I have around 30 values that I
want to track for each virtual machine and for the plans as well.
What would be the best way to do this?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate