{"shas":[["c9d41f37e87ae1fe45d4262715cc8e97d44cf815","6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com","begin work on a reporting DSL\n\nSo our reports basically are columns, and rows (data tuple for each\ncolumn). This commit creats a very small DSL to define columns that\nshould be available in a report.\n\nUsage:\n\nclass ConsolidatedReport < Report\n  include Mostfit::Reporting\n\n  column :loan_amount => [:applied, :sanctioned, :disbursed]\n  column :balance_outstanding => [:principal, :interest, :total]\nend\n\nThis doesn't do much now, except that you can say\nConsolidatedReport.columns to get columns that should be available for\nConsolidatedReports.","Anurag Priyam"],["56495043eb34904c4cba09c2fa5f7c5d8dae7deb","6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com","add helpers to make working with columns easier\n\nThese helpers should make it easy to generate headers in (html) reports.","Anurag Priyam"],["a7477ef55e07893a1f2d5262c249ac3d928c998f","6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com","use the nascent Reporting engine to define columns for ConsolidateReport\n\nProof of concept.","Anurag Priyam"]],"ref":"refs/heads/reporting","size":3,"head":"a7477ef55e07893a1f2d5262c249ac3d928c998f","push_id":32932404}