I have some code that is simply formatting and parsing URLs and I really
don’t want to associate it with a view or a controller or a model - I
just want it to be available as a utility class.
Where should this utility class go?
I would have to import it into my controller using “require” correct?
Please advice i have ACR38 and a mcr200and i would like to know how to
read and write an Emv ic chip card.
i need help with this regard, im willing to pay a price.
You can put it as a library, just include it in your controller or
model.
Alternatively if it’s for controllers only you might want to put it in
application.rb which is the base class for all controllers, you don’t
need to include a library then.