Project

dm-drupal

0.0
No commit activity in last 3 years
No release in over 3 years
A datamapper wrapper for a drupal database.. great for migrations
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.10.2
 Project Readme
== DM Drupal ==

Its a Datamapper wrapper for a drupal+cck database.

lots of eval right now. sorry.

== Install ==

to install:
  
  gem install dm-drupal

  
== Using Hooks ==

this is for associating with dynamic cck fields that don't exist when the app loads.

class BlogPost
  include DataMapper::Resource  
  post_drupal do
    has 1, :drupal_blog_post,
      :repository => repository(:drupal),
      :class_name => 'Drupal::BlogPost',
      :child_key => ['legacy_blog_post_id']
  end
end