Flowdock
method

truncate

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: AliasTracker
truncate(name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/alias_tracker.rb, line 71
        def truncate(name)
          name.slice(0, connection.table_alias_length - 2)
        end
Register or log in to add new notes.