CITIER (Class Inheritance & Table Inheritance Embeddings for Rails) is a solution for simple Multiple Class Inheritance in Rails.
Questions tagged [citier]
2 questions
2
votes
1 answer
Rails - Citier - Two level inheritance, Child Class don't inherit Middle Class attributes
I'm trying to implement a structure like: GrandFather <- Father <- Son
Using rails and the gem citier. This example should create 2 tables to represent the 3 classes: one for the Root class (GrandFather) and it's attributes and other to represent…

Gus
- 942
- 9
- 32
1
vote
1 answer
RSpec Tests failing with Citier Gem - class table inheritance
I have set up the following models for a contacts directory
class Contact < ActiveRecord::Base
acts_as_citier
end
class Company < Contact
acts_as_citier
end
class Operator < Company
acts_as_citier
end
The thing is that a Contact can be a…

Ali
- 7,353
- 20
- 103
- 161