Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

activerecord dependency issue #52

Closed
brockers opened this Issue Aug 30, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

brockers commented Aug 30, 2013

I have a couchdb rails application I was working on that specifically needs to disable the active_record dependency to run. Something to this effect:

rails new YourProject --skip-active-record

Tried using backbone-on-rails and for file generation it seemed to work, but as soon as I try to access my default page it crashes due to activerecord trying to access the config/database.yml file (which doesn't exist on non-active_record project.) This only happens when using backbone-on-rails.

Does backbone-on-rails have some kind of active_record dependency that causes it to load?

Owner

meleyal commented Aug 31, 2013

It depends on rails in the gemspec, maybe this is the issue?

It looks like e.g. jquery-rails just depends on railties, so that could be the way to go. Could you try this out with a local version of backbone-on-rails?

Contributor

brockers commented Sep 3, 2013

I will take a look tonight. Thanks for getting back to me.

@meleyal meleyal closed this in 2492bcf Feb 14, 2014

@meleyal meleyal pushed a commit that referenced this issue Feb 14, 2014

William Meleyal document #52 44b3b3a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment