Fixed the all important missing syntax highlight
[ci skip]
This commit is contained in:
parent
9b7e7338d0
commit
6e1d66536e
|
@ -137,7 +137,7 @@ construct much more complex search forms, such as the one on the
|
|||
|
||||
Ransack will try to to make `#search` available in your models, but in the case that `#search` has already been defined, you can use `#ransack` instead. For example the following would be equivalent:
|
||||
|
||||
```
|
||||
```ruby
|
||||
Article.search(params[:q])
|
||||
Article.ransack(params[:q])
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue