From 5b2351b655a450bc861ad80797d6878d19600708 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Sun, 20 Dec 2015 22:50:30 +0100 Subject: [PATCH] Wrap lines at 80 chars, follow-up to #626 [skip ci] --- CHANGELOG.md | 3 ++- README.md | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d34fd0c..6248bc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,7 +46,8 @@ * Added `ransack_alias` to allow users to customize the names for long ransack field names. PR - [#623](https://github.com/activerecord-hackery/ransack/pull/623), commit [e712ff1](https://github.com/activerecord-hackery/ransack/commit/e712ff1). + [#623](https://github.com/activerecord-hackery/ransack/pull/623), commit + [e712ff1](https://github.com/activerecord-hackery/ransack/commit/e712ff1). *Ray Zane* diff --git a/README.md b/README.md index 46d7bd9..55fb3f1 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,9 @@ symbolized association (`:department_title)`, `:employees_last_name`). ### Ransack Aliases -You can customize the attribute names for your Ransack searches by using a `ransack_alias`. This is particularly useful for long attribute names that are necessary when querying associations or multiple columns. +You can customize the attribute names for your Ransack searches by using a +`ransack_alias`. This is particularly useful for long attribute names that are +necessary when querying associations or multiple columns. ```ruby class Post < ActiveRecord::Base @@ -357,7 +359,9 @@ class Post < ActiveRecord::Base end ``` -Now, rather than using `:author_first_name_or_author_last_name_cont` in your form, you can simply use `:author_cont`. This serves to produce more expressive query parameters in your URLs. +Now, rather than using `:author_first_name_or_author_last_name_cont` in your +form, you can simply use `:author_cont`. This serves to produce more expressive +query parameters in your URLs. ```erb <%= search_form_for @q do |f| %>