You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded to ruby 1.9.2 and I'm having all kinds of issues with remarkable. I've tried everything. I finally solved them, but I do not think its the right solution. Here's whats been happening:
describe InvoiceItem do
context "validations" do
it { should validate_presence_of(:description) }
end
end
Gives me the following error:
wrong number of arguments (1 for 0)
The fix:
it { InvoiceItem.new.should validate_presence_of(:description) }
Doing:
it { InvoiceItem.should validate_presence_of(:description) }
Gives me the following error:
undefined method `description=' for #Class:0x00000102f324d0
Any idea whats going on here? In 1.9.1 it was all working fine. 1.9.2 I'm getting these strange errors.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
I just upgraded to ruby 1.9.2 and I'm having all kinds of issues with remarkable. I've tried everything. I finally solved them, but I do not think its the right solution. Here's whats been happening:
describe InvoiceItem do
context "validations" do
it { should validate_presence_of(:description) }
end
end
Gives me the following error:
wrong number of arguments (1 for 0)
The fix:
it { InvoiceItem.new.should validate_presence_of(:description) }
Doing:
it { InvoiceItem.should validate_presence_of(:description) }
Gives me the following error:
undefined method `description=' for #Class:0x00000102f324d0
Any idea whats going on here? In 1.9.1 it was all working fine. 1.9.2 I'm getting these strange errors.
Thanks for your help.
The text was updated successfully, but these errors were encountered: