#rubyonrails - Sun 4 Mar 2007 between 13:30 and 13:40

NY Lost Funds



yakkop_dav: ok, I'm dreaming... isn't there something though that points in the direction?
someoneoutthereguys I kno that @params takes its values from GET and POST, and how can I take values only from GET or from POST
is there a solution?
_davwhy does it have to be rails like? if you got a rails server, just have the j2me client speak http to it
rikkusapp/views/layouts/application.rhtml gets applied to app/views/station/list.rhtml but not to app/views/welcome/index.rhtml - What do I need to do to get welcome/index to use the application template?
jstewsomeoneoutthere: check the request method, then do something if it's not what you want
_davsomeoneoutthere: if request.get? ... elsif request.post?
jstewsomeoneoutthere: return unless request.post?
yakkop_dav: right, that's what I want... but not having done any j2me before, and wondering if there's any sort of framework that can get me going in the right direction....
Ron_dav: alright, ill try.. thanks
_davyakkop: not that i'm aware of.
jstewfyi, @request should be request without the @
someoneouttherethanks guys, I heard about it, but then it means there is no way I can access POST hash
rikkusDo I have voice here? Can anyone hear me?
jstewsomeoneoutthere: are you a PHP dev?
yakkop_dav: have you heard of polish?
jeremydurhamrikkus: yep
someoneouttherejstew: yea, lol
rikkusjeremydurham: thanks
jstewthere is no POST hash. all of your CGI variables are in params
_davyakkop: no
someoneoutthereeven ENVIROMETNS?
matt1982When I get the error message "Application error Rails application failed to start properly" it is in the default formatting with no css not even the scaffold css being used, does this shed any light on the matter?
jstewsomeoneoutthere: that sort of thing is probably in the requst object.
charlesmhi, how can I use redirect_to within a controller constructor?
someoneouttherejstew: ok thanks
_davi gotta get back to my own code, good luck all
jeremydurhamsomeoneoutthere: request.env
bryanlwhats a controller constructor?
charlesmuh.. initialize?
matt1982is there a rails deployment irc channel?
jstewok i have a diaper to change (not my own)
bye
matt1982i just found the forum
jeremydurhammatt1982: yep
matt1982: rails-deployment I believe
matt1982really? whats it called?
ahh nice
jeremydurham: cheers
rikkusWhat's the magic needed to get a view to use the application.rhtml template?

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 109 

IrcArchive

NY Lost Funds