My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 278: Extend the config structure to have per-controller ignore_columns option
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by ewildgoose, May 02, 2007
It would be desirable to have a per-controller ignore_columns param (or
similar).

ie 

class UserController < ApplicationController
  
  active_scaffold :users do |config|
    config.ignore_columns.add :plain_password
  end
end
Comment 1 by cainlevy, May 03, 2007
I think that a per-controller equivalent to ignore_columns should just act as a
shortcut that excludes the column(s) from all actions, and not from config.columns
itself.
Status: Accepted
Sign in to add a comment

Hosted by Google Code