{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/6eded0937cdaaf986756ececa8718e76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6eded0937cdaaf986756ececa8718e76","url":"https://api.github.com/users/apocalyptiq","login":"apocalyptiq","id":489586},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-10-29T15:03:20Z","closed_at":null,"comments":1,"url":"https://api.github.com/repos/ai/r18n/issues/45","body":"I'm using DataMapper in my Rails app, and I have the following model:\r\n\r\n\trequire 'r18n-core/translated'\r\n\r\n\tclass Article\r\n\t  include DataMapper::Resource\r\n\r\n\t  property :id, Serial\r\n\r\n\t  property :title_en, String\r\n\t  property :title_pl, String\r\n\r\n\t  property :body_en,  Text\r\n\t  property :body_pl,  Text\r\n\r\n\t  include R18n::Translated\r\n\t  translations :title\r\n\t  translations :body\r\n\tend\r\n\r\nand when i'm trying to do anything with that model, it throws the following error:\r\n\r\n    uninitialized constant R18n::Translated::Base::ActiveRecord","html_url":"https://github.com/ai/r18n/issues/45","number":45,"title":"R18n::Translated does not work with Rails and DataMapper","id":2083199,"created_at":"2011-10-28T19:56:00Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6eded0937cdaaf986756ececa8718e76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6eded0937cdaaf986756ececa8718e76","url":"https://api.github.com/users/apocalyptiq","login":"apocalyptiq","id":489586},"updated_at":"2011-10-29T15:03:20Z","url":"https://api.github.com/repos/ai/r18n/issues/comments/2565250","body":"It looks like R18n requires ActiveRecord even when using another ORM - after i've added activerecord to my gemfile, translations works fine. It would be nice to fix it.","id":2565250,"created_at":"2011-10-29T15:03:20Z"}}