Ruby On Multilingual Model Options

by pimp, June 09, 2008 21:32

Sorry, I should have been m...

67c02d91e6570d0a0f6e67f96dd7ce28 Talk
1
2
3
4
class Chat < ActiveRecord::Base
  
  KINDS = [[:office.l('Oficina'),0],['Personal',1]]
...

Ruby Multilingual Model Options

by pimp, June 09, 2008 10:21, 2 refactorings, tagged with rails, models, multilingual

So far this works a treat, ...

67c02d91e6570d0a0f6e67f96dd7ce28 Talk

Ruby On Help Refactor this into Rai...

by pimp, February 27, 2008 20:09

For starters, I would use %...

67c02d91e6570d0a0f6e67f96dd7ce28 Talk
1
2
3
4
function full_reset(form) {
cost_per_unit.innerHTML = ""
charge_per_unit.innerHTML = ""
...

JavaScript Repetitive Calculator Code

by pimp, December 20, 2007 13:20, 1 refactoring, tagged with calculator

I am almost embarrassed to ...

67c02d91e6570d0a0f6e67f96dd7ce28 Talk