| dagbrown | eventualbuddha: Yup |
| lonny | ant1matter: Rails doesn't care where the params come from. |
| dagbrown | Well, where's my @request |
| eventualbuddha | dagbrown: how'd you start it? |
| ant1matter | ok im sure you could - i need to look at the request object methods. im used to java somerequest.getParameter(....) s/im/i was/ |
| dagbrown | eventualbuddha: In config/environments/development.rb I put in SCRIPT_LINES__={};require "ruby-debug";Debugger.start and then I said "debugger" in an action in the controller. |
| Glenn_NZ | Say, where in the rails directory hierarchy are the ruby helper functions stored? |
| Skiz | eventualbuddha: textmate will have full support for it by the time I'm done if I have anything to ay about it. |
| eventualbuddha | dagbrown: ah, i've never started it that way |
| Skiz | so sweet. thanks dagbrown |
| lonny | Glenn_NZ: You mean built-in? Or user-defined? |
| carterparks | Glenn_NZ: activesupport |
| dagbrown | eventualbuddha: What do you do? |
| eventualbuddha | Skiz: there is a TM bundle for it floating around somewhere |
| Glenn_NZ | lonny: built in |
| action | ant1matter bought a license to etexteditor and got so frustrated with vista and now is back on linux only. |
| ant1matter | bought a license to etexteditor and got so frustrated with vista and now is back on linux only. |
| Skiz | eventualbuddha: for ruby-debug? whoa is it 2004 or am I just behind the times :S |
| lonny | Glenn_NZ: I think carterparks gave you the answer. |
| eventualbuddha | dagbrown: i start this in one terminal: rdebug -s script/server, then this in another one: rdebug -c |
| Skiz | btw it was 42 |
| eventualbuddha | then i use the TM bundle to set breakpoints |
| Skiz | eventualbuddha: if you can link me that'd be awsome (tm bundle that is unless its included) |
| danfo | ok - it's persistent in safari. in firefox and IE, i have to close the applications completely for it to be non-persistent |
| Glenn_NZ | ahhhh, found it thanks |
| eventualbuddha | dagbrown: if you're not using TM then i think the best thing to do is to start it with: rdebug script/server, then set the breakpoint manually (break /path/to/file.rb:32), then do 'c' to continue Skiz: i always have to hunt for it, hang on |
| lonny | ant1matter: If it is in the request, it should show up in the params hash. For example, even if a page form uses method="post", the action could still be "/my_controller/my_action/id?my_value=abcd", and params[:my_value] would equal "abcd". |
| dagbrown | There doesn't seem to be a Linux version of TextMate, so I'm not using it no rdebug script/server ignores the breakpoints I've added, hrm |
| ant1matter | lonny: thank you - makes sense |
| eventualbuddha | dagbrown: when you start it with rdebug, the "breakpoint" thing doesn't do anything (i think, like i said i've never used it that way) |
| viewlogic | dagbrown: what version of ruby? |
| captproton | eventualbuddha, I didn't find that gem, but this looks interesting: http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial |
| dagbrown | viewlogic: 1.8.5 |
| viewlogic | thats your problem |
| slapaho | in rails, can you have say 50 associations defined for a model? |
| dagbrown | ... |