| _thom_ | so the _BASE_ class is ActiveRecord or what? (that containc formbuilder) |
| dagbrown | tpope: Text editor! Windows-only though |
| tpope | okay that doesn't sound like something you'd even want to use unlike enlightenment or ecstacy |
| dasil003 | So does Rails 1.2.2 require rubygems 0.9.2 (vs 0.8.10)? I've got shared hosts telling me to freeze gems, but I have a feeling without an updated rubygems it won't work due to the require_gem/gem change. |
| |PiP| | ReinH: well my referral works. but my secondary_referral does not (if that makes any diff) |
| ReinH | farski: do you have rails recipes by any chance? |PiP|: just use a join table |
| tpope | dasil003: it's just a line in boot.rb, right? you can fix it manually if you hae to |
| farski | yeah I do, but not with me |
| |PiP| | ReinH: what should i name it? |
| ReinH | |PiP|: Referral ? |
| |PiP| | (if it is for the same model) |
| dasil003 | tpope: well on Site5 I have spent hours futzing with all sorts of things and I'm unable to get an error to show up anywhere... however it works with 1.1.6 |
| ReinH | User has_many :referrals; User has_many :referred_users, :through => :referrals for example |
| dasil003 | It's almost to the point where I'm going to tell all my clients hosting is $25/month and just put them on railsmachine. |
| ReinH | farski: basically you call it, say, friends_users for a friends join table and then use the options in habtm to tell rails the name of the join model and the name of the foreign key, etc |
| warren_ | ahh, recognize_path isn't a hard hack at all... render_component(ActionController::Routing::Routes.recognize_path($1)) just in case anybody cared :-) |
| ReinH | warren_: still.... EW. dasil003: lol, good idea |
| alterego | dasil003, I charge a little less. I actually think I should charge more though ^_^ |
| farski | ReinH: sent you a PM, that look about right? |
| alterego | I will probably be thinking about my prices a lot more over the next few weeks. |
| dasil003 | tpope: there are a few more require_gem lines than that actually... alterego: where do you host rails clients? |
| tpope | dasil003: :( |
| alterego | dasil003, I host all my clients on the same machine. |
| dasil003 | tpope: just for the individual gems obviously... alterego: dedicated, vps, colocation? |
| alterego | dasil003, VPS |
| dasil003 | alterego: who from? I've got a servint vps |
| tpope | dasil003: edit config/boot.rb; module Kernel; def gem(*args); require_gem(*args); end it's ugly but it will wokr |
| ReinH | farski: something like that, yes :) farski: haven't done self-referential habtm in a while though |