Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
GeoKit acts_as_mappable breaks fixture relationship
1 Post
GeoKit acts_as_mappable breaks fixture relationship

Prior to adding the acts_as_mappable my test fixtures loaded fine with relationships. Meaning that previously, it understood...

region: us

means, region_id = id of 'us' record in regions.yml.

Now, it things region: is a column name and is trying to insert the value 'us' into it.

What gives? Can I work around this?

1 Post
Login to add your message