app/models/collection/member/base.rb in iqvoc-3.3.4 vs app/models/collection/member/base.rb in iqvoc-3.4.0
- old
+ new
@@ -13,11 +13,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class Collection::Member::Base < ActiveRecord::Base
-
- set_table_name 'collection_members'
+
+ self.table_name = 'collection_members'
belongs_to :collection, :class_name => 'Collection::Base'
end