title: Input string is longer than NAMEDATALEN-1 (63) Ruby on Rails 4
body: <p>I have problem with renaming table in my Ruby on Rails application. I have model CarAddition and now I must rename it to AvailableCarAddition. So i write migration:</p>
  
  <pre><code>class RenameCarAdditionsToAvailableCarAdditions &lt; ActiveRecord::Migration
    def change
      rename_table :car_additions, :available_car_additions
      rename_column :car_additions_assignments, :car_addition_id, :available_car_addition_id
      rename_column :car_addition_translations, :car_addition_id, :available_car_addition_id
      rename_table :car_addition_translations, :available_car_addition_translations
    end
  end
  </code></pre>
  
  <p>when i try to run it I have the following error:</p>
  
  <pre><code>Input string is longer than NAMEDATALEN-1 (63)/home/mateusz/.rvm/gems/ruby-2.1.1@rentcar/gems/activerecord-4.0.4/lib/active_record/connection_adapters/postgresql/quoting.rb:154:in `quote_ident'
  </code></pre>
  
  <p>This line causes the problem:</p>
  
  <pre><code>rename_table :car_addition_translations, :available_car_addition_translations
  </code></pre>
  
  <p>How can I solve this problem?</p>