Learn Rails by Example (Michael Hartl) is good tutorial (
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book).

On Mon, Nov 14, 2011 at 3:23 PM, Danaka Kahn
<[email protected]>wrote:

>
>
> On Mon, Nov 14, 2011 at 12:15 PM, cval eval <[email protected]> wrote:
>
>> Well, analysis has shown that database should be refactored, because
>> it's pretty unstructured, some data is duplicated or unnecessary etc.
>> Some tables are used by another modules(not RoR).
>>
>
> So... I am guessing you wont touch these, or do you have a manner (i.e.
> test suite) which will allow  you to make such changes and know if you
> broke something?
>
>
>> What is the best way (i mean easiest)) ) to redesign database?
>> Should I use migrations?
>> Or just write database in plain SQL and then generate objects from SQL
>> tables?
>> Or modify existing models manually?
>>
>
> Same goes as above, first, is the project working? Is there a test suite?
> Do you trust the test coverage? If you have no test coverage and have a
> working project you are taking on a lot of risk to start changing the db
> structure around.
>
>
>
>>
>> --
>> 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 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.
>>
>>
>  --
> 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.
>

-- 
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.

Reply via email to