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

undefined method `scoped' for #<Class:0x00000004fd67f0> #91

Open
anusha358 opened this issue Feb 17, 2016 · 8 comments
Open

undefined method `scoped' for #<Class:0x00000004fd67f0> #91

anusha358 opened this issue Feb 17, 2016 · 8 comments

Comments

@anusha358
Copy link

when i install the gem and ran with the route /calendar..I am getting the above error. Please some one help me

@gordonbisnor
Copy link

@anusha358 I have been running into the same issue – this gem has not seen a new release since 2011 and it looks like is not compatible with Rails 4+

@anusha358
Copy link
Author

Thank you gordonbisnor for the information.Could you please help me in finding for rails 4.

@gordonbisnor
Copy link

@anusha358 –- you might try looking into updating to use with_scope? ––http://apidock.com/rails/ActiveRecord/Base/with_scope/class

@gordonbisnor
Copy link

@anusha358 it looks like I forked this and attempted to get it working for Rails 4. I'm no longer working on the Rails 4 branch of a project that I needed this for so not sure if I was successful, but you could try it out! https://github.com/gordonbisnor/event_calendar

@nbaki
Copy link

nbaki commented Oct 30, 2017

@gordonbisnor Does not work. If someone has an alternative please post. Thanks!

@gordonbisnor
Copy link

@nbaki Would FullCalendar work for your needs? https://fullcalendar.io/ –– it handles the JS, you can bring in events via JSON etc. I've used on a number of projects and it worked great and was easy to setup and customize as needed.

@ggates1020
Copy link

I realize this is old, but I am updating an old site and ran into the issue. I have make a pull request for a fix that I know works in at least rails 4.2.8.

@swapnilsawant10
Copy link

Quite an old issue but still persists, cannot find a way to work around this.

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

5 participants