This conditional is rather tricky to understand. We should combine it with the assignment you had in `named_base.rb`

```ruby
        if options[:model_name]
          controller_name = name
          self.name = options[:model_name]
          assign_names!(self.name)
        else
          controller_name = name
        end
```