README.md in spreadsheet_architect-1.2.5 vs README.md in spreadsheet_architect-1.2.6
- old
+ new
@@ -50,15 +50,15 @@
['# of Views', :number_of_views],
['Rating', :rating],
['Category/Tags', "#{category.name} - #{tags.collect(&:name).join(', ')}"]
]
- # OR just humanize the method to use as the label ex. "Title", "Content", "Author Name", "Published"
- [:title, content, (author.name rescue nil), :published]
+ # OR if you want to use the method or attribute name as a label it must be a symbol ex. "Title", "Content", "Published"
+ [:title, :content, :published]
- # OR a Combination of Both
- [:title, :content, ['Author',(author.name rescue nil)], :published]
+ # OR a Combination of Both ex. "Title", "Content", "Author Name", "Published"
+ [:title, :content, ['Author Name',(author.name rescue nil)], :published]
end
end
```
# Usage
@@ -161,5 +161,8 @@
# Credits
Created by Weston Ganger - @westonganger
Heavily influenced by the dead gem `acts_as_xlsx` by @randym but adapted to work for more spreadsheet types and plain ruby models.
+
+
+<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VKY8YAWAS5XRQ&lc=CA&item_name=Weston%20Ganger&item_number=spreadsheet_architect¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest" target="_blank" title="Donate"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" alt="Donate"/></a>