docs/rails.md in alba-2.0.1 vs docs/rails.md in alba-2.1.0
- old
+ new
@@ -12,10 +12,10 @@
You might want to add some configurations to initializer file such as `alba.rb` with something like below:
```ruby
# alba.rb
Alba.backend = :active_support
-Alba.enable_inference!(:active_support)
+Alba.enable_inference!(with: :active_support)
```
You can also use `:oj_rails` for backend if you prefer using Oj.
## Rendering JSON