Hello,
I''ve been trying to create another model in typo,here comes the command
I used.
C:\Java\workspace\typo-4.0.3>ruby script\generate model travel_loc
exists app/models/
exists test/unit/
exists test/fixtures/
create app/models/travel_loc.rb
create test/unit/travel_loc_test.rb
create test/fixtures/travel_locs.yml
exists db/migrate
create db/migrate/051_create_travel_locs.rb
and the class name in 051_create_travel_locs.rb is CreateTravelLocs. But
when I did
rake db:migrate
it did give me this error
rake aborted!
uninitialized constant Mysql
with a windows pop-up
The procedure entry point mysql_stmt_row_tell could not be located in
the dynamic link library LIBMYSQL.dll
looks like a very naive question since it all worked well with
ruby-on-rails tutorails. been searching for the questions all the way
down with no luck.
looks like the migration file name and class name match each other.
anyone has some ideas? appreciated for any help!
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---