Sha256: adea58ef7aad89515ca5df32db285bae7ecbe777d5fef1ae1340058e45cb47f5

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

class Dynomite::Migration
  module Helpers
    def table_name_with_namespace(table_name)
      [Dynomite.config.namespace, table_name].reject {|s| s.nil? || s.empty?}.join(Dynomite.config.namespace_separator)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dynomite-2.0.3 lib/dynomite/migration/helpers.rb
dynomite-2.0.2 lib/dynomite/migration/helpers.rb
dynomite-2.0.1 lib/dynomite/migration/helpers.rb
dynomite-2.0.0 lib/dynomite/migration/helpers.rb