lib/railroady/options_struct.rb in railroady-1.0.2 vs lib/railroady/options_struct.rb in railroady-1.0.3
- old
+ new
@@ -18,10 +18,11 @@
:exclude => [],
:inheritance => false,
:join => false,
:label => false,
:modules => false,
+ :all_columns => false,
:hide_magic => false,
:hide_types => false,
:hide_public => false,
:hide_protected => false,
:hide_private => false,
@@ -78,9 +79,12 @@
" (not only ActiveRecord::Base derived)") do |a|
self.all = a
end
opts.on("--show-belongs_to", "Show belongs_to associations") do |s|
self.show_belongs_to = s
+ end
+ opts.on("--all-columns", "Show all columns (not just content columns)") do |h|
+ self.all_columns = h
end
opts.on("--hide-magic", "Hide magic field names") do |h|
self.hide_magic = h
end
opts.on("--hide-types", "Hide attributes type") do |h|