i0rek/salesforce — Issue #2: Avoid method missing!
Author: i0rek
Created: 2011-11-02 13:51:44+00:00
State: open

## ... generate methods instead!

### Where?

Look at [Fields.rb](https://github.com/i0rek/salesforce/blob/master/lib/salesforce/fields.rb#L14). [There](https://github.com/i0rek/salesforce/blob/master/lib/salesforce/fields.rb#L60) is already some magic which unfortunatly refuses to work.

### Why?

`alias :Umsatz__c :revenue` is cooler than `field :Umsatz__c, :as => :revenue` and way more rubyish!