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

rails 3 working? #7

Open
obrie opened this issue Aug 6, 2011 · 3 comments
Open

rails 3 working? #7

obrie opened this issue Aug 6, 2011 · 3 comments
Assignees

Comments

@obrie
Copy link
Member

obrie commented Aug 6, 2011

sopwithpup opened this issue

trying to use in rails3.

added gem ’preferences’ to gemfile did bundle install seems to work
ran rails generate migration create_preferences,
edited to migration to create the table with timestamps
ran rake db:migrate
restated rails server
added some prefs to user model
all working

tried to access a pref using @user.prefers(:weekly_request)

got uninitialized constant Preferences::InstanceMethods::Preference

Am i missing something??

TIA

D

original LH ticket

This ticket has 0 attachment(s).

@ghost ghost assigned obrie Aug 6, 2011
@obrie
Copy link
Member Author

obrie commented Aug 6, 2011

sopwithpup commented

Just installed it as a plugin rather than using bundle and its ok

Thanks, seems to work very well

Just out of interest how does one turn it into a bundleable gem rather than a plugin?

@obrie
Copy link
Member Author

obrie commented Aug 6, 2011

@sopwithpup
Copy link

Cheers obrie

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

No branches or pull requests

2 participants