search for: ftransact

Displaying 1 result from an estimated 1 matches for "ftransact".

Did you mean: transact
2005 Dec 31
3
[Model] [Noob] Table Naming w/ underscores
...nsactions" 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 issue, when defining a method "recent_ftransactions" how does the naming work here too (re: underscoring...