Skip to main content
Ask A Question
Notifications
You’re not receiving notifications from this thread.
Subscribe

Calendar with Recurring Events Error Message - undefined method `has_key?' for "null":String

Rails • Asked by BB
Hi I'm trying to follow Chris's Recurring events tutorial and I'm coming across this error message...


NoMethodError in EventsController#index

undefined method `has_key?' for "null":String

Extracted source (around line #15):
              | 
  def rule
    IceCube::Rule.from_hash recurring
  end

  def schedule(start)
...


Has anyone encountered this and happen to know the fix?  (I know the gem and video are pretty old but everything seemed to be working well up to this point).

thanks,

@BB have you been able to solve this?
I am also getting this error and have been stuck for a while now.

Edit:
Nvm for anyone facing this issue, just clear your events.
I had been trying several ways and the data had issues.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.