Jay Fields

BNL: DRY code, DAMP BNL - Update


~11 years ago by Jay Fields on Jay Fields Thoughts.
Business Natural Languages: IntroductionBusiness Natural Languages: The ProblemBusiness Natural Languages: The SolutionBusiness Natural Languages: DRY code...

BNL: Moving to the web and multiple contexts - Update


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Business Natural Languages: IntroductionBusiness Natural Languages: The ProblemBusiness Natural Languages: The SolutionBusiness Natural Languages: DRY code...

BNL: Limitations


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Business Natural Languages: IntroductionBusiness Natural Languages: The ProblemBusiness Natural Languages: The SolutionBusiness Natural Languages: DRY code...

BNL: Common Pieces


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Business Natural Languages: IntroductionBusiness Natural Languages: The ProblemBusiness Natural Languages: The SolutionBusiness Natural Languages: DRY code...

Rails: Get the schema_info version number from Rake


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Recently a coworker asked if there was a simple way to get the current version out of the schema_info table. Of course, one simple answer is to simply...

Rails: Textmate Footnotes


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
If you are developing Rails applications using TextMate you should not be without TextMate Footnotes. This plugin saves you time when moving between your...

Rails: Running migrations in another environment


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
From the command line it's possible to run migrations in any environment. For example, using the code below it is possible to run migrations in the test...

Ruby: Use class methods to reduce duplication


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Context: I had two method definitions in my class that were similar to the code below.class TaxRemoteFacade def state_tax ... @remote.close end...

Ruby: instance and class methods from a module


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Context: You have a presenter class that needs to validate attributes. You like the way ActiveRecord allows you to define validations using class methods...

BNL: New location


almost 11 years ago by Jay Fields on Jay Fields Thoughts.
Instead of continuing to post BNL updates to my blog I've put all the current content on http://bnl.jayfields.com.I'll post an occasional blog entry here...