lib/rfm/layout.rb in ginjo-rfm-3.0.7 vs lib/rfm/layout.rb in ginjo-rfm-3.0.8
- old
+ new
@@ -287,11 +287,10 @@
def count(find_criteria, options={})
find(find_criteria, options.merge({:max_records => 0})).foundset_count
end
def get_records(action, extra_params = {}, options = {})
- # TODO: The grammar stuff here won't work properly until you handle config between
- # models/sublayouts/layout/server (Is this done now?).
+ # TODO: See auto-grammar bypbass in connection.rb.
grammar_option = state(options)[:grammar]
options.merge!(:grammar=>grammar_option) if grammar_option
template = options.delete :template
# # TODO: Remove this code it is no longer used.
\ No newline at end of file