Guys I'm using Ruport gem for Ruby Reporting, I gone through basic coding and configuration as follows
class Project < ActiveRecord::Base
acts_as_reportable
end
and in IRB console i tried as follows
irb(main):001:0> puts Project.report_table
and it's working fine to me.
Problem is instead of Model, how to write my own queries with SQL and add that to Ruport table object?