README.md in greedo-0.0.2 vs README.md in greedo-0.0.3

- old
+ new

@@ -28,11 +28,21 @@ = g.column "Actions" do |user| = link_to "Edit", edit_user_path(user) ``` This will create a data table with two columns, one labelled "Name" and the other "Actions". -It will show 10 users from the given scope (which should either be an ActiveRecord::Relation or an Array). +It will show 10 users from the given scope (which should either be an ActiveRecord::Relation or an Array). Pagination will be added if necessary. + +### Custom empty message + +```haml +%h1 My first table + += greedo(User.registered, per_page: 10) do |g| + = g.custom_empty_message "There are no users in the database." + = g.column :name +``` ### Presenters You can wrap records in a class instance: