search for: condition_type

Displaying 1 result from an estimated 1 matches for "condition_type".

Did you mean: condition_time
2012 Apr 17
0
Request for adding an "alias"/"as" to ActiveRecord
I often find myself in situations where I''m fighting against ActiveRecord because there is no easy way to alias some tables. For example, I''m converting a legacy application. So, there is a ''condition_type'' table that actually should be something like ''fields''. Also it can have a parent field and deletion is handled by setting a ''deleted'' column, so here is the basic class: class Field self.table_name = ''condition_type'' default_s...