I am writing a basic accounting module for an app. Rather unfortunately
name “transactions” is a reserved term in Rails (being the only
term trully representational of a financial transaction). I am left to
up with other names. One such name was f_transaction.
This worked on the DB level, but I noticed that the Model name dropped
underscore, thus “FTransaction”. How do I refer to the model in the view
layer? Do I use f_transaction, ftransaction? Either way it is currently
returning a nill object at the moment.
Along the same naming issue, when defining a method
how does the naming work here too (re: underscoring)?