apotonick/roar-rails — Issue #5: undefined method `mounted_helpers' for rails 3.0.10
Author: guiocavalcanti
Created: 2012-02-02 17:20:18+00:00
State: open

I'm getting this error when I try to startup the rails development server on my machine.

```
redu (api) > rails s
=> Booting WEBrick
=> Rails 3.0.10 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/roar-rails-0.0.2/lib/roar/rails/railtie.rb:12: undefined method `mounted_helpers' for # (NoMethodError)
```

I just created a representer as follows:

```ruby
module EnvironmentRepresenter
include Roar::Representer::JSON
include Roar::Representer::Feature::Hypermedia

property :name
property :description
property :description

link :self do
environment_url(self)
end
end
```

And added this config to my ``development.rb`` config file:

```ruby
config.representer.default_url_options = {:host => "127.0.0.1:3000"}
```

Commenting [this](https://github.com/apotonick/roar-rails/blob/master/lib/roar/rails/railtie.rb#L12) everything worked fine.