Displaying 1 result from an estimated 1 matches for "f_transaction".
Did you mean:
b_transaction
2005 Dec 31
3
[Model] [Noob] Table Naming w/ underscores
Greetings:
I am writing a basic accounting module for an app. Rather unfortunately the
name "transactions" is a reserved term in Rails (being the only accounting
term trully representational of a financial transaction). I am left to come
up with other names. One such name was f_transaction.
This worked on the DB level, but I noticed that the Model name dropped the
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 issu...