apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.27k stars 382 forks source link

weird issue on Fabrication gem after update gmaps4rails #464

Closed ghost closed 9 years ago

ghost commented 9 years ago

I have an existant rails 4 app with gmaps4rails v. 1.5.6 and Fabrication gem (v. 2.9.3) used in rspec tests, all tests works fine.

I only updated gem gmaps4rails to v. 2.1.2 and the Fabrication class broke on a unit rspec test in MyModel with this error:

Fabrication::UnknownFabricatorError: No Fabricator defined for 'my_model'

I do not understand what's going on, someone with similar problems?

apneadiving commented 9 years ago

cant tell but did you check how v2.x works? basically no more ruby in models

ghost commented 9 years ago

OK, sorry :-)