Sha256: f8426068b0a454d579ecac2ba66a4fe43a44603727b770d54852f21f530e4711
Contents?: true
Size: 440 Bytes
Versions: 63
Compression:
Stored size: 440 Bytes
Contents
class CategoriesController < ApplicationController record_select :per_page => 10, :search_on => "name", :order_by => "name ASC", :full_text_search => true active_scaffold Category do |config| config = self # Ruby 1.9 compat config.columns = [ :name, :mods, :created_at ] config.list.sorting = { :name => :asc } [:mods].each do |c| config.columns[c].form_ui = :record_select end end end
Version data entries
63 entries across 63 versions & 1 rubygems