rails singular resource still plural?

Yes, that’s how it’s supposed to be. Quote from the Rails Guide on Routing:

Because you might want to use the same controller for a singular route
(/account) and a plural route (/accounts/45), singular resources map
to plural controllers.

http://edgeguides.rubyonrails.org/routing.html#singular-resources

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)