Sha256: 86dcea27704912cb4d3d68374235bc1b7c267ac6541ac049c8ddf335c32dc272
Contents?: true
Size: 251 Bytes
Versions: 8
Compression:
Stored size: 251 Bytes
Contents
class IndexController < ApplicationController def index @tables = ActiveRecord::Base.connection.tables if !params[:id].nil? @columns = Kernel.const_get(params[:id].singularize.camelize).column_names end render :index end end
Version data entries
8 entries across 8 versions & 1 rubygems