Displaying 2 results from an estimated 2 matches for "db_task".
Did you mean:
dm_task
2012 Jun 08
1
Rspec include paths
''m using rspec 2.10 with Rails 3.2.1 and have problems with classes not
being found.
I have put a class called DbTasks under a dir app/util. Under spec, i''ve
created file util/db_tasks_spec.rb which runs afer i included the line:
require File.join(File.dirname(FILE), ''../../app/util/db_tasks'')
However, rspec now isn''t able to find my models. I don''t want to have to
include these manually. Is there a way to config rspecs paths so
everything g...
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
...ase you''ll notice
that by default the created db will use latin1 encoding. I created a
plugin to handle different charset and collations (on top of helping
you with other boring DB tasks).
You can check out the early version of the plugin
svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks
(I really need to move my projects out of rubyforge, it''s a real pain
to browse the code)
Anyway, if people consider that it''s an important feature, I''d be glad
to submit a patch. Ohh, by the way, when you set your database with a
specific charset, tables inherit the co...