On 5 May 2015 at 19:15, Bailey J <[email protected]> wrote: > I am doing the sample application "trips-app" based on this slightly > deprecated set of instructions > https://ruby-geekcampbaguio.herokuapp.com/#2-database-crud > > I'll tell what worked so far and what has been different. > > In the instructions it refers to db/migrations but on my version of rails it > is db/migrate > I ran into this error but I resolved it > ActiveRecord::DuplicateMigrationNameError: Multiple migrations have the > name CreateItineraries > by finding the duplicate file in finder and just dragging it to the trash. > > Then I was able to perform a rake:db migrate > > But the entire time I have been getting this error > NameError: undefined local variable or method `itinerary' for main:Object > from (irb):1 > from /Users/dev/.rubies/ruby-2.2.2/bin/irb:11:in `<main>' > Instead of the errors that are documented from the set of instructions I am > using.
Copy/paste here the entire command and results from the terminal for a command that fails. Also tell us the result of ruby -v and rails -v and tell us which operating system you are using. Colin -- 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/msgid/rubyonrails-talk/CAL%3D0gLuowQL1B5vZLgcVgp1rdVFHitG1N0W3S_On%3DtJNkMWOAA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

