@@ -145,6 +145,11 namespace :redmine do | |||
|
145 | 145 | |
|
146 | 146 | class TracWikiPage < ActiveRecord::Base |
|
147 | 147 | set_table_name :wiki |
|
148 | ||
|
149 | def self.columns | |
|
150 | # Hides readonly Trac field to prevent clash with AR readonly? method (Rails 2.0) | |
|
151 | super.select {|column| column.name.to_s != 'readonly'} | |
|
152 | end | |
|
148 | 153 | end |
|
149 | 154 | |
|
150 | 155 | class TracPermission < ActiveRecord::Base |
General Comments 0
You need to be logged in to leave comments.
Login now