#49 √ resolved
Mark Bates

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

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket