-
-
Notifications
You must be signed in to change notification settings - Fork 197
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 `include?' for nil:NilClass #44
Comments
Also. My test says sqlite is trying to save record. The dynamoid isn't over riding the orm behavior. class Lead table :name => :leads, :key => :email, :read_capacity => 400, :write_capacity => 400 field :question validates_presence_of :lead |
This is happening when you have no tables to start with. See the changes in my fork: adamthedeveloper. Instead of assuming there are always tables, I set the tables variable to an empty array if it's nil so that the include? still works. |
Ah ok. Will check it out. |
@adamthedeveloper how about a patch? |
Here you go: #63 |
This is fixed by #109 |
The save method on the object is raising this error.
The text was updated successfully, but these errors were encountered: