Skip to content
Browse files

Fixes the build on Rails master

* `self.table_name=` has been preferred for a while (and supported since
  Rails 3.0.0); `set_table_name` is gone in Rails 4.
  • Loading branch information...
1 parent bc5956a commit c771682a90ad94242dd798b5e78be2bc19b01f3f @alindeman alindeman committed Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/model_specs/errors_on.feature
View
2 features/model_specs/errors_on.feature
@@ -6,7 +6,7 @@ Feature: errors_on
require "spec_helper"
class ValidatingWidget < ActiveRecord::Base
- set_table_name :widgets
+ self.table_name = :widgets
validates_presence_of :name
attr_accessible :name

0 comments on commit c771682

Please sign in to comment.
Something went wrong with that request. Please try again.