class StaticPlaylist < ActiveRecord::Base
acts_as_superclass
end
class ImportedPlaylist < ActiveRecord::Base
acts_as :static_playlist
acts_as_superclass
end
class DigiPlaylist < ActiveRecord::Base
acts_as :imported_playlist
end
When I try creating a DigiPlaylist using factory girl I get this error.
<ruby-root>/gems/acts_as_relation-1.0.0/lib/active_record/acts_as_relation.rb:83: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
<ruby-root>/gems/acts_as_relation-1.0.0/lib/active_record/acts_as_relation.rb:83: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
I've this structure.
When I try creating a
DigiPlaylist
using factory girl I get this error.Here is the full stacktrace. It looks like an infinitive loop.
My factory looks like this.
I looks like the problem is explained in pull request #8.
How can we solve this?