Skip to content
working on a datamapper wrapper for a drupal database...
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gemified
.gitignore
Manifest.txt
README
Rakefile
VERSION
dm-drupal.gemspec

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
You can’t perform that action at this time.