How can I use logger.info to output data to development.log so that I
can then just “tail” that log, rather than getting information
overload?
It looks to me like the the SELECT resulting from
FeedsController#add_some_tags is causing the
ActiveRecord::HasManyThroughCantAssociateNewRecords error message, but
I can’t be sure.
When I get home I’ll play around with it. I need to determine why I’m
getting ActiveRecord::HasManyThroughCantAssociateNewRecords , that the
records have no id. The records do have an ID field, which isn’t
null, but somehow that information isn’t getting to where it needs to:
ActiveRecord::HasManyThroughCantAssociateNewRecords in
FeedsController#add_some_tags
Cannot associate new records through ‘Feed#colors’ on ‘#’. Both
records
must have an id in order to create the has_many :through record
associating them.
-Thufir
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.