I\'ve a problem, that I can\'t solve for days now. I have read many docs, searched many forums, but found no solution.
I\'m probably misunderstanding code-first table-per-hierarchy inheritance, but this is my set-up: I have HTMLGadgets (and other types) inheriting from Gadget, which inherits from Entity. Entity has on
Given the following models: class Company include Mongoid::Document has_many :workers, autosave: true accepts_nested_attributes_for :workers
Update #1: Solved! Somehow Pow did not restart it\'s processes, so after updates it was loading the old config files. And it was loading the wrong locale file.
In my App, I have different kinds of posts people can make. So I had the idea to incorporate the Single Table Inheritance for this:
i have an existing table for TransactionLogs which is either links to a External or to a InternalType. the id\'s corresponding to the cash adjustment & game transaction are stored in a single colu
Here are my models: class BillingProfile < ActiveRecord::Base belongs_to :student attr_accessible :cost
I have a rails app where users share specific kinds of photos. Currently the app requires photos to be categorized in several ways before they are valid, hence users must upload photos one at a time a
So I know STI is the most reviled thing ever but I have an instance where I think it might actually make sense.My app is parsing a bunch of different types of xml files.Every file model stores the exa
I am developing a Django application using Oracle with no modifications to DB schema allowed. I have one table in which all Thesis exist, which can be seperated in two disjoint sets: PhdThesis and Bsc