README.md in julia_builder-0.1.5 vs README.md in julia_builder-0.2.0
- old
+ new
@@ -50,9 +50,16 @@
# or you can pass a block
column 'Type' do |user|
user.class.name
end
+
+ # include your own mixins
+ ActionView::Helpers::DateHelper
+
+ column 'age' do |c|
+ time_ago_in_words c.dob
+ end
end
```
2. Now you can use your builder to generate your csv out of a query like: