Sha256: 493894236a7e7856f7b8dca84b5b70ecc20bb8de7094121e3e187a5233862236
Contents?: true
Size: 443 Bytes
Versions: 20
Compression:
Stored size: 443 Bytes
Contents
module AdminData class MigrationController < ApplicationController before_filter :ensure_is_allowed_to_view def index @page_title = 'migration information' @data = ActiveRecord::Base.connection.select_all('select * from schema_migrations') respond_to {|format| format.html} end def jstest @page_title = 'jstest' respond_to {|format| format.html { render :layout => false}} end end end
Version data entries
20 entries across 20 versions & 2 rubygems