Skip to content

Commit

Permalink
Fixes the build on Rails master
Browse files Browse the repository at this point in the history
* `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
alindeman committed Sep 15, 2012
1 parent bc5956a commit c771682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/model_specs/errors_on.feature
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Feature: errors_on
require "spec_helper" require "spec_helper"
class ValidatingWidget < ActiveRecord::Base class ValidatingWidget < ActiveRecord::Base
set_table_name :widgets self.table_name = :widgets
validates_presence_of :name validates_presence_of :name
attr_accessible :name attr_accessible :name
Expand Down

0 comments on commit c771682

Please sign in to comment.