Commit e6c893a24a99d562188cbc6ad57f363b5bf58da6
1 parent
e045c942
Exists in
master
and in
20 other branches
rails4: changed missed set_table_name
Showing
4 changed files
with
5 additions
and
4 deletions
Show diff stats
plugins/oauth_client/lib/oauth_client_plugin/user_provider.rb
... | ... | @@ -3,7 +3,7 @@ class OauthClientPlugin::UserProvider < ActiveRecord::Base |
3 | 3 | belongs_to :user, :class_name => 'User' |
4 | 4 | belongs_to :provider, :class_name => 'OauthClientPlugin::Provider' |
5 | 5 | |
6 | - set_table_name :oauth_client_plugin_user_providers | |
6 | + self.table_name = :oauth_client_plugin_user_providers | |
7 | 7 | |
8 | 8 | attr_accessible :user, :provider, :enabled |
9 | 9 | ... | ... |
plugins/sniffer/lib/sniffer_plugin/opportunity.rb
1 | 1 | class SnifferPlugin::Opportunity < ActiveRecord::Base |
2 | 2 | |
3 | - set_table_name :sniffer_plugin_opportunities | |
3 | + self.table_name = :sniffer_plugin_opportunities | |
4 | 4 | |
5 | 5 | belongs_to :sniffer_profile, :class_name => 'SnifferPlugin::Profile', :foreign_key => :profile_id |
6 | 6 | has_one :profile, :through => :sniffer_profile | ... | ... |
plugins/sniffer/lib/sniffer_plugin/profile.rb
plugins/stoa/lib/stoa_plugin/usp_aluno_turma_grad.rb