orm tasks aren't available
Reported by Mark Bates | July 23rd, 2008 @ 09:17 AM | in 0.6.1
With the new way of dealing with ORMs, via the gems.rb file, tasks are no longer available.
In mack_tasks.rb the following is still in there:
orm = app_config.orm
unless orm.nil?
require "mack-#{orm}_tasks"
end
Which means if you still use the app_config.orm setting you can still get the tasks, however, when you remove this, as per the deprecation notice, the tasks no longer work.
Also, in gems.rb you should just have to require mack-data_mapper and not that plus mack-data_mapper_tasks (or the equivalent for active_record).
Comments and changes to this ticket
-

Mark Bates July 23rd, 2008 @ 03:04 PM
- → State changed from new to resolved
(from [69a51e3b1dea6244fb1cb1bb1347e2641fb4476d]) fixed 'orm tasks aren't available' [#49 state:resolved]
-

Mark Bates July 24th, 2008 @ 01:43 PM
(from [034799c303e9ed980810c68283e926beecd3e7b1]) Fixed 'orm tasks aren't available' [#49 state:resolved]
-

Mark Bates July 24th, 2008 @ 03:45 PM
(from [42f19864e7c0e781f76fb3f90138f6e50271b31f]) Merge branch 'master' into mailer
- master:
removing unused puts
Fixed 'orm tasks aren't available' [#49 state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Mack is a Ruby web application framework focused on writing distributed, portal-like, applications. it's built on best of breed technologies, such as Rack, Cachetastic, and DataMapper.