Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for errors when a Rails model is named 'Property' #108

Merged
merged 2 commits into from Dec 15, 2011

Conversation

vivekprahlad
Copy link
Contributor

Hi Andreas,

This is a fix for this bug: #107

Thanks,
Vivek

@dnagir
Copy link
Contributor

dnagir commented Dec 15, 2011

Many thanks for that! Awesome!

I'll merge and try it.

BTW, you can just reference the PR easily by using #107 and it will link up two PRs.


it "should save successfully when model is ::Property" do
class ::Property < Neo4j::Rails::Model
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should either be defined in advance (spec_helper?) or the constant should be undefined after the spec.

Otherwise this spec has global side-effects.

andreasronge added a commit that referenced this pull request Dec 15, 2011
Fix for errors when a Rails model is named 'Property' closes #108
@andreasronge andreasronge merged commit 7c0331c into neo4jrb:master Dec 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants