# File lib/big_record/base.rb, line 425 def view(name, *columns) name = name.to_sym @views_hash ||= default_views # The other variables that are cached and depend on @views_hash need to be reloaded invalidate_views @views_hash[name] = ConnectionAdapters::View.new(name, columns.flatten, self) end