From adam at prettystudio.co.uk Tue Oct 3 11:21:49 2006 From: adam at prettystudio.co.uk (Adam) Date: Tue, 03 Oct 2006 16:21:49 +0100 Subject: [Instantrails-users] problems getting InstantRails working Message-ID: <4522800D.2080208@prettystudio.co.uk> Hi. My 1st post! Been trying to get Ruby & Rails working on a windows machine for most of yesterday. Gave up after not being able to get IIS to bring up a Rails page on localhost. So InstantRails seemed like the way forward. Got it installed ok, but I cant get it to serve Rails pages, specifically the cookbook app .. have gone through the instructions, and put the index.html from the cookbook app folder into the www folder. It says: The requested URL /recipe/list was not found on this server. (after loading http://www.railscookbook.com which redirects to http://www.railscookbook.com/recipe/list) If i try http://www.railscookbook.com:3001 it just loads forever. This is all on Firefox. Thanks in advance Adam From curt.hibbs at gmail.com Tue Oct 3 14:14:46 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Tue, 3 Oct 2006 13:14:46 -0500 Subject: [Instantrails-users] problems getting InstantRails working In-Reply-To: <4522800D.2080208@prettystudio.co.uk> References: <4522800D.2080208@prettystudio.co.uk> Message-ID: <31d15f490610031114h793fef04jc2ad15dd02807831@mail.gmail.com> On 10/3/06, Adam wrote: > > Hi. My 1st post! > > Been trying to get Ruby & Rails working on a windows machine for most of > yesterday. Gave up after not being able to get IIS to bring up a Rails > page on localhost. > > So InstantRails seemed like the way forward. Got it installed ok, but I > cant get it to serve Rails pages, specifically the cookbook app .. have > gone through the instructions, and put the index.html from the cookbook > app folder into the www folder. It says: > > The requested URL /recipe/list was not found on this server. > > (after loading http://www.railscookbook.com which redirects to > http://www.railscookbook.com/recipe/list) > > If i try http://www.railscookbook.com:3001 it just loads forever. > > This is all on Firefox. > > Thanks in advance > Adam > Are you using the newly released Instant Rails 1.4 preview1? If not, go download and install it. Next, start the cookbook app by: - Select "Rails Applications > Manage Rails Applications..." - Check the checkbox next to the cookbook app - Press the "Start with Mongrel" button. You should be able to browse to: http://localhost:3001/ Assuming that the above worked, the apache config file already has a virtual host directive that will serve up the cookbook using the named host url: http://www.mycookbook.com/ But you first must edit you Windows HOSTS file to add this domain name so that your local machine can fake itself into thinking that your machine is " www.mycookbook.com": - Select "Configure > Windows hosts file" - Add a line at the end that says "127.0.0.1 www.mycookbook.com" You should now be able to browse to: http://www.mycookbook.com/ WARNING: This will not work if you have your browser connection set to use a proxy server. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061003/8473cca2/attachment.html From wfroelich at dbsnow.com Tue Oct 3 14:23:05 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Tue, 3 Oct 2006 13:23:05 -0500 Subject: [Instantrails-users] problems getting InstantRails working Message-ID: > -----Original Message----- > Hi. My 1st post! > > Been trying to get Ruby & Rails working on a windows machine > for most of yesterday. Gave up after not being able to get > IIS to bring up a Rails page on localhost. > > So InstantRails seemed like the way forward. Got it installed > ok, but I cant get it to serve Rails pages, specifically the > cookbook app .. have gone through the instructions, and put > the index.html from the cookbook app folder into the www > folder. It says: > > The requested URL /recipe/list was not found on this server. > > (after loading http://www.railscookbook.com which redirects to > http://www.railscookbook.com/recipe/list) It sounds like you are trying to have IIS serve up your Rails app. Out of the box InstantRails is configured to use apache for serving the apps. I suspect that there may be a port conflict between Apache and IIS on port 80. I would try shutting down IIS and following the InstantRails instructions to confirm that the IR setup is working as expected. Then you can decide on how to move forward with IIS. I recall from others posts to the main Rails list that getting IIS working can be challenging. > If i try http://www.railscookbook.com:3001 it just loads forever. > > This is all on Firefox. > > Thanks in advance > Adam This is typically a development URL that would be used with the dev web server. You can test this by going to the cookbook app directory and starting Webrick from a command prompt. c:\InstantRails-1.3\rails_apps\cookbook>ruby script/server You should see output like the following => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-10-03 13:19:49] INFO WEBrick 1.3.1 [2006-10-03 13:19:49] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] [2006-10-03 13:19:49] INFO WEBrick::HTTPServer#start: pid=13148 port=3000 Then you can go to http://www.railscookbook.com:3000 and it should load up as expected (assuming you made the entry in your local hosts file). What I typically use is http://localhost:3000 for my development testing Let us know if this works or what results you get and we can try troubleshooting more. Good luck and welcome to Rails! --Bill From bill.walton at charter.net Tue Oct 3 14:57:43 2006 From: bill.walton at charter.net (Bill Walton) Date: Tue, 3 Oct 2006 13:57:43 -0500 Subject: [Instantrails-users] problems getting InstantRails working References: <4522800D.2080208@prettystudio.co.uk> Message-ID: <01bd01c6e71d$cf468150$6401a8c0@Presario> Adam wrote: > Hi. My 1st post! Welcome! > So InstantRails seemed like the way forward. Absolutely! > Got it installed ok, but I > cant get it to serve Rails pages, specifically the cookbook app .. Probably not ok then ;-) > have gone through the instructions, Which ones, exactly? > If i try http://www.railscookbook.com:3001 it just loads forever. Make sure your Windows Hosts file has an entry for localhost at 127.0.0.0. Then, using the IR Manager, start the app using WEBrick (not Apache for this). Then try http://localhost:3000. hth, Bill From timuckun at gmail.com Tue Oct 3 15:38:56 2006 From: timuckun at gmail.com (Tim Uckun) Date: Wed, 4 Oct 2006 08:38:56 +1300 Subject: [Instantrails-users] problems getting InstantRails working In-Reply-To: <4522800D.2080208@prettystudio.co.uk> References: <4522800D.2080208@prettystudio.co.uk> Message-ID: <855e4dcf0610031238s791ad05di8cf3af58f20f0c25@mail.gmail.com> Did you modify your hosts file? On 10/4/06, Adam wrote: > Hi. My 1st post! > > Been trying to get Ruby & Rails working on a windows machine for most of > yesterday. Gave up after not being able to get IIS to bring up a Rails > page on localhost. > > So InstantRails seemed like the way forward. Got it installed ok, but I > cant get it to serve Rails pages, specifically the cookbook app .. have > gone through the instructions, and put the index.html from the cookbook > app folder into the www folder. It says: > > The requested URL /recipe/list was not found on this server. > > (after loading http://www.railscookbook.com which redirects to > http://www.railscookbook.com/recipe/list) > > If i try http://www.railscookbook.com:3001 it just loads forever. > > This is all on Firefox. > > Thanks in advance > Adam > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > From mortonda at dgrmm.net Tue Oct 3 23:54:54 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 3 Oct 2006 22:54:54 -0500 Subject: [Instantrails-users] problems getting InstantRails working In-Reply-To: <4522800D.2080208@prettystudio.co.uk> References: <4522800D.2080208@prettystudio.co.uk> Message-ID: <26BA5770-417A-4E65-A19B-65D5E02A2768@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 3, 2006, at 10:21 AM, Adam wrote: > gone through the instructions, and put the index.html from the > cookbook > app folder into the www folder. It says: > What instructions say to do that??? David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFIzCTUy30ODPkzl0RAqdmAJ9dS45a67keGEhElTYx6bkGPQ1KewCgs7dw adTma6ibFHjNgrRRI7rNfkQ= =hnkS -----END PGP SIGNATURE----- From adam at prettystudio.co.uk Wed Oct 4 06:39:09 2006 From: adam at prettystudio.co.uk (Adam) Date: Wed, 04 Oct 2006 11:39:09 +0100 Subject: [Instantrails-users] problems getting InstantRails working In-Reply-To: <31d15f490610031114h793fef04jc2ad15dd02807831@mail.gmail.com> References: <4522800D.2080208@prettystudio.co.uk> <31d15f490610031114h793fef04jc2ad15dd02807831@mail.gmail.com> Message-ID: <45238F4D.4050903@prettystudio.co.uk> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061004/f1e55fd0/attachment.html From adam at prettystudio.co.uk Wed Oct 4 08:45:34 2006 From: adam at prettystudio.co.uk (Adam) Date: Wed, 04 Oct 2006 13:45:34 +0100 Subject: [Instantrails-users] problems getting InstantRails working In-Reply-To: <31d15f490610040535i741dad2cs8e37829cdc5d4f67@mail.gmail.com> References: <4522800D.2080208@prettystudio.co.uk> <31d15f490610031114h793fef04jc2ad15dd02807831@mail.gmail.com> <45238F4D.4050903@prettystudio.co.uk> <31d15f490610040535i741dad2cs8e37829cdc5d4f67@mail.gmail.com> Message-ID: <4523ACEE.6080005@prettystudio.co.uk> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061004/1d5c6d1f/attachment.html From david.havard at gmail.com Mon Oct 9 16:46:46 2006 From: david.havard at gmail.com (Dave Havard) Date: Mon, 9 Oct 2006 21:46:46 +0100 Subject: [Instantrails-users] Mongrel BAD CLIENT errors Message-ID: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> Hi I have just installed InstantRails and (after some work) have got my existing app working. I am now getting BAD CLIENT errors on some form posts but have no idea why. Having looked at the mongrel docs it seems I should be able to get to the bottom of this if I can get debug set to true but I cannot see where to do this in InstantRails? Any pointers? Thanks Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061009/c6e98c16/attachment.html From curt.hibbs at gmail.com Mon Oct 9 23:51:08 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 9 Oct 2006 22:51:08 -0500 Subject: [Instantrails-users] Mongrel BAD CLIENT errors In-Reply-To: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> References: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> Message-ID: <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> On 10/9/06, Dave Havard wrote: > > Hi > > I have just installed InstantRails and (after some work) have got my > existing app working. I am now getting BAD CLIENT errors on some form posts > but have no idea why. Having looked at the mongrel docs it seems I should be > able to get to the bottom of this if I can get debug set to true but I > cannot see where to do this in InstantRails? > > Any pointers? > You'll need to start mongrel by hand. Use Instant Rails to open a ruby console window (menu command "Rails Applications>Open Ruby Console Window"), change your current directory to move in to your Rails application's root directory, and then type in the "mongrel_rails" command with whatever options you like. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061009/630da73f/attachment.html From david.havard at gmail.com Tue Oct 10 05:39:04 2006 From: david.havard at gmail.com (Dave Havard) Date: Tue, 10 Oct 2006 10:39:04 +0100 Subject: [Instantrails-users] Mongrel BAD CLIENT errors In-Reply-To: <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> References: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> Message-ID: <341cfd410610100239r38f5e327x50854b9dd12a33dc@mail.gmail.com> Thank you Curt. That has got debugging working but has made things no clearer on why some of my form posts are not working. The post does not seem to get logged - only reported as a bad client to the console window. Any ideas what I should be looking for? My view contains the following code: <% @title = "Sign up" %> <%= error_messages_for 'user' %> <%= form_tag %>
Username: <%= text_field("user", "username") %>
Password: <%= password_field("user", "password") %>
Confirm Password: <%= password_field("user", "confirm_password") %>
Email Address: <%= text_field("user", "email") %>
First Name: <%= text_field("user", "first_name") %>
Last Name: <%= text_field("user", "last_name") %>
Screen Name: <%= text_field("user", "screen_name") %>
<%= end_form_tag %> Whilst my controller looks like: def signup if request.get? @user = User.new else if params[:user][:password] != params[:user][:confirm_password] flash[:notice] = "Passwords do not match!" else @user = User.new(params[:user]) if @user.save session[:user] = @user.id redirect_to :controller => "pages", :action => "show", :id => 1 end end end end The get part of the view is being rendered fine. Only when I post back is it failing. Thanks Dave On 10/10/06, Curt Hibbs wrote: > > On 10/9/06, Dave Havard wrote: > > > > Hi > > > > I have just installed InstantRails and (after some work) have got my > > existing app working. I am now getting BAD CLIENT errors on some form posts > > but have no idea why. Having looked at the mongrel docs it seems I should be > > able to get to the bottom of this if I can get debug set to true but I > > cannot see where to do this in InstantRails? > > > > Any pointers? > > > > You'll need to start mongrel by hand. Use Instant Rails to open a ruby > console window (menu command "Rails Applications>Open Ruby Console Window"), > change your current directory to move in to your Rails application's root > directory, and then type in the "mongrel_rails" command with whatever > options you like. > > Curt > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061010/19491512/attachment-0001.html From mortonda at dgrmm.net Tue Oct 10 10:38:13 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 10 Oct 2006 09:38:13 -0500 Subject: [Instantrails-users] Mongrel BAD CLIENT errors In-Reply-To: <341cfd410610100239r38f5e327x50854b9dd12a33dc@mail.gmail.com> References: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> <341cfd410610100239r38f5e327x50854b9dd12a33dc@mail.gmail.com> Message-ID: <452BB055.2010005@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Havard wrote: > Thank you Curt. > > That has got debugging working but has made things no clearer on why > some of my form posts are not working. The post does not seem to get > logged - only reported as a bad client to the console window. Any ideas > what I should be looking for? My view contains the following code: According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT error means the web browser sent an invalid HTTP request; it has nothing to do with rails. What browser are you using? - From that FAQ: What does BAD CLIENT mean? It means that a request came in which Mongrel rejects because it doesn?t follow the RFC grammar. Mongrel is pretty relaxed about most requests, but in order to block the majority of security attacks for web servers it is strict about characters used, header formats, status line formats, etc. This is also based on matching the RFC?s grammar specification to a Ragel grammar specification, so it?s easy to compare. If you need to know why the client is triggering this, then simply hit your Mongrel processes with USR1 signals and they?ll log the full request data and parameters that were collected. Then, if you think the request is valid send me this data and I?ll look. If it?s not valid than fix the client. Mongrel takes the stance that all clients are written by software developers and that they should follow the standard. By doing this it reduces the bugs and potential security holes found in many other web servers. It also means that if you absolutely have to allow a bad client, then you?ll need to not use Mongrel. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFK7BVUy30ODPkzl0RAma3AKDRcqL3oQJ5tvk3XyX1YJzuJHkvuQCglr2d 1fx9ureC6X0dzEDqSo1JgaM= =397F -----END PGP SIGNATURE----- From mortonda at dgrmm.net Tue Oct 10 15:01:17 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 10 Oct 2006 14:01:17 -0500 Subject: [Instantrails-users] Mongrel BAD CLIENT errors In-Reply-To: <452BB055.2010005@dgrmm.net> References: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> <341cfd410610100239r38f5e327x50854b9dd12a33dc@mail.gmail.com> <452BB055.2010005@dgrmm.net> Message-ID: <2EF7A47A-5E18-4A10-A34C-1892031C2050@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 10, 2006, at 9:38 AM, David Morton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dave Havard wrote: >> Thank you Curt. >> >> That has got debugging working but has made things no clearer on why >> some of my form posts are not working. The post does not seem to get >> logged - only reported as a bad client to the console window. Any >> ideas >> what I should be looking for? My view contains the following code: > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > error means the > web browser sent an invalid HTTP request; it has nothing to do with > rails. actually, now that I think about it, perhaps a request has a bad character in it, or isn't properly url encoded? David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFK+4DUy30ODPkzl0RAs07AKC41WT2g+7DCvw9wudA1pFe3UN3YgCgkLVP SmJILQExLXV0SppFk96d2SY= =qYsA -----END PGP SIGNATURE----- From david.havard at gmail.com Tue Oct 10 19:16:25 2006 From: david.havard at gmail.com (Dave Havard) Date: Wed, 11 Oct 2006 00:16:25 +0100 Subject: [Instantrails-users] Mongrel BAD CLIENT errors In-Reply-To: <2EF7A47A-5E18-4A10-A34C-1892031C2050@dgrmm.net> References: <341cfd410610091346v647388cbue79ace2f4318b1ab@mail.gmail.com> <31d15f490610092051jb7a12fbw26b22d4c6eb895d1@mail.gmail.com> <341cfd410610100239r38f5e327x50854b9dd12a33dc@mail.gmail.com> <452BB055.2010005@dgrmm.net> <2EF7A47A-5E18-4A10-A34C-1892031C2050@dgrmm.net> Message-ID: <341cfd410610101616x6f1fd47j6cb881d0c1921e35@mail.gmail.com> Thanks David So are they saying that mongrel will fail if the browser is not right? I am testing on IE6.0.29 and FF1.5. Would be surprised if mongrel does not work with these browsers - how could it be used in production? Have you heard about this problem much? Seems like mongrel is become the server of choice for rails, but even the scaffold code is failing - can't believe it is rails or this issue would be plastered all over the net by now. At the same time a web server which will not work with FF1.5 seem unrealistic. Could it be something else? Maybe apache is changing something before passing the request to mongrel? Given InstantRails is installing elsewhere without fuss i'll test on some more machines... Thanks for your help. Dave On 10/10/06, David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Oct 10, 2006, at 9:38 AM, David Morton wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Dave Havard wrote: > >> Thank you Curt. > >> > >> That has got debugging working but has made things no clearer on why > >> some of my form posts are not working. The post does not seem to get > >> logged - only reported as a bad client to the console window. Any > >> ideas > >> what I should be looking for? My view contains the following code: > > > > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > > error means the > > web browser sent an invalid HTTP request; it has nothing to do with > > rails. > > actually, now that I think about it, perhaps a request has a bad > character in it, or isn't properly url encoded? > > > > David Morton > Maia Mailguard http://www.maiamailguard.com > mortonda at dgrmm.net > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFFK+4DUy30ODPkzl0RAs07AKC41WT2g+7DCvw9wudA1pFe3UN3YgCgkLVP > SmJILQExLXV0SppFk96d2SY= > =qYsA > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061011/009bb731/attachment.html From curt.hibbs at gmail.com Tue Oct 10 23:04:24 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Tue, 10 Oct 2006 22:04:24 -0500 Subject: [Instantrails-users] What could be causing this BAD CLIENT error? Message-ID: <31d15f490610102004r32b44dd2kc44bbd8240ca78fc@mail.gmail.com> Zed, I've copied a thread from the Instant Rais mailing list below. Could you take a quick look and see if you have any idea what might be going on here? Thanks Curt *[Instantrails-users] Mongrel BAD CLIENT errors* 6 messages ------------------------------ * Dave Havard * * Mon, Oct 9, 2006 at 3:46 PM * Reply-To: instantrails-users at rubyforge.org To: instantrails-users at rubyforge.org Hi I have just installed InstantRails and (after some work) have got my existing app working. I am now getting BAD CLIENT errors on some form posts but have no idea why. Having looked at the mongrel docs it seems I should be able to get to the bottom of this if I can get debug set to true but I cannot see where to do this in InstantRails? Any pointers? Thanks Dave _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users ------------------------------ * Curt Hibbs * * Mon, Oct 9, 2006 at 10:51 PM * Reply-To: curt at hibbs.com To: instantrails-users at rubyforge.org On 10/9/06, Dave Havard wrote: > > Hi > > I have just installed InstantRails and (after some work) have got my > existing app working. I am now getting BAD CLIENT errors on some form posts > but have no idea why. Having looked at the mongrel docs it seems I should be > able to get to the bottom of this if I can get debug set to true but I > cannot see where to do this in InstantRails? > > Any pointers? > You'll need to start mongrel by hand. Use Instant Rails to open a ruby console window (menu command "Rails Applications>Open Ruby Console Window"), change your current directory to move in to your Rails application's root directory, and then type in the "mongrel_rails" command with whatever options you like. Curt ------------------------------ * Dave Havard * * Tue, Oct 10, 2006 at 4:39 AM * To: curt at hibbs.com, instantrails-users at rubyforge.org Thank you Curt. That has got debugging working but has made things no clearer on why some of my form posts are not working. The post does not seem to get logged - only reported as a bad client to the console window. Any ideas what I should be looking for? My view contains the following code: <% @title = "Sign up" %> <%= error_messages_for 'user' %> <%= form_tag %>
Username: <%= text_field("user", "username") %>
Password: <%= password_field("user", "password") %>
Confirm Password: <%= password_field("user", "confirm_password") %>
Email Address: <%= text_field("user", "email") %>
First Name: <%= text_field("user", "first_name") %>
Last Name: <%= text_field("user", "last_name") %>
Screen Name: <%= text_field("user", "screen_name") %>
<%= end_form_tag %> Whilst my controller looks like: def signup if request.get? @user = User.new else if params[:user][:password] != params[:user][:confirm_password] flash[:notice] = "Passwords do not match!" else @user = User.new(params[:user]) if @user.save session[:user] = @user.id redirect_to :controller => "pages", :action => "show", :id => 1 end end end end The get part of the view is being rendered fine. Only when I post back is it failing. Thanks Dave On 10/10/06, Curt Hibbs wrote: > > On 10/9/06, Dave Havard wrote: > > > > Hi > > > > I have just installed InstantRails and (after some work) have got my > > existing app working. I am now getting BAD CLIENT errors on some form posts > > but have no idea why. Having looked at the mongrel docs it seems I should be > > able to get to the bottom of this if I can get debug set to true but I > > cannot see where to do this in InstantRails? > > > > Any pointers? > > > > You'll need to start mongrel by hand. Use Instant Rails to open a ruby > console window (menu command "Rails Applications>Open Ruby Console Window"), > change your current directory to move in to your Rails application's root > directory, and then type in the "mongrel_rails" command with whatever > options you like. > > Curt > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > ------------------------------ * David Morton * * Tue, Oct 10, 2006 at 9:38 AM * To: instantrails-users at rubyforge.org Cc: curt at hibbs.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Havard wrote: > Thank you Curt. > > That has got debugging working but has made things no clearer on why > some of my form posts are not working. The post does not seem to get > logged - only reported as a bad client to the console window. Any ideas > what I should be looking for? My view contains the following code: According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT error means the web browser sent an invalid HTTP request; it has nothing to do with rails. What browser are you using? - From that FAQ: What does BAD CLIENT mean? It means that a request came in which Mongrel rejects because it doesn?t follow the RFC grammar. Mongrel is pretty relaxed about most requests, but in order to block the majority of security attacks for web servers it is strict about characters used, header formats, status line formats, etc. This is also based on matching the RFC?s grammar specification to a Ragel grammar specification, so it?s easy to compare. If you need to know why the client is triggering this, then simply hit your Mongrel processes with USR1 signals and they?ll log the full request data and parameters that were collected. Then, if you think the request is valid send me this data and I?ll look. If it?s not valid than fix the client. Mongrel takes the stance that all clients are written by software developers and that they should follow the standard. By doing this it reduces the bugs and potential security holes found in many other web servers. It also means that if you absolutely have to allow a bad client, then you?ll need to not use Mongrel. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFK7BVUy30ODPkzl0RAma3AKDRcqL3oQJ5tvk3XyX1YJzuJHkvuQCglr2d 1fx9ureC6X0dzEDqSo1JgaM= =397F -----END PGP SIGNATURE----- ------------------------------ * David Morton * * Tue, Oct 10, 2006 at 2:01 PM * To: instantrails-users at rubyforge.org Cc: curt at hibbs.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 10, 2006, at 9:38 AM, David Morton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dave Havard wrote: >> Thank you Curt. >> >> That has got debugging working but has made things no clearer on why >> some of my form posts are not working. The post does not seem to get >> logged - only reported as a bad client to the console window. Any >> ideas >> what I should be looking for? My view contains the following code: > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > error means the > web browser sent an invalid HTTP request; it has nothing to do with > rails. actually, now that I think about it, perhaps a request has a bad character in it, or isn't properly url encoded? David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFK+4DUy30ODPkzl0RAs07AKC41WT2g+7DCvw9wudA1pFe3UN3YgCgkLVP SmJILQExLXV0SppFk96d2SY= =qYsA -----END PGP SIGNATURE----- ------------------------------ * Dave Havard * * Tue, Oct 10, 2006 at 6:16 PM * Reply-To: instantrails-users at rubyforge.org To: instantrails-users at rubyforge.org Thanks David So are they saying that mongrel will fail if the browser is not right? I am testing on IE6.0.29 and FF1.5. Would be surprised if mongrel does not work with these browsers - how could it be used in production? Have you heard about this problem much? Seems like mongrel is become the server of choice for rails, but even the scaffold code is failing - can't believe it is rails or this issue would be plastered all over the net by now. At the same time a web server which will not work with FF1.5 seem unrealistic. Could it be something else? Maybe apache is changing something before passing the request to mongrel? Given InstantRails is installing elsewhere without fuss i'll test on some more machines... Thanks for your help. Dave On 10/10/06, David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Oct 10, 2006, at 9:38 AM, David Morton wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Dave Havard wrote: > >> Thank you Curt. > >> > >> That has got debugging working but has made things no clearer on why > >> some of my form posts are not working. The post does not seem to get > >> logged - only reported as a bad client to the console window. Any > >> ideas > >> what I should be looking for? My view contains the following code: > > > > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > > error means the > > web browser sent an invalid HTTP request; it has nothing to do with > > rails. > > actually, now that I think about it, perhaps a request has a bad > character in it, or isn't properly url encoded? > > > > David Morton > Maia Mailguard http://www.maiamailguard.com > mortonda at dgrmm.net > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061010/28615300/attachment-0001.html From david.havard at gmail.com Wed Oct 11 06:28:46 2006 From: david.havard at gmail.com (Dave Havard) Date: Wed, 11 Oct 2006 11:28:46 +0100 Subject: [Instantrails-users] What could be causing this BAD CLIENT error? In-Reply-To: <31d15f490610102004r32b44dd2kc44bbd8240ca78fc@mail.gmail.com> References: <31d15f490610102004r32b44dd2kc44bbd8240ca78fc@mail.gmail.com> Message-ID: <341cfd410610110328m742561c3r5009d6375702a8de@mail.gmail.com> Hi Curt Ok, I have now tested from another windows box running IE (same version) and all works fine. Have also tested from my SUSE10.1 box running FF (same version) and both work fine. Strangley IE is now working on my development box (XP) today - not sure if changed something or just got confused in the battle yesterday!? Anyway now it is just FF not working. I have tried uninstalling each extension but none had an effect, also tried reinstalling FF but still no change. Any suggestions on what to try next? Thanks Dave On 11/10/06, Curt Hibbs wrote: > > Zed, I've copied a thread from the Instant Rais mailing list below. Could > you take a quick look and see if you have any idea what might be going on > here? > > Thanks > Curt > > *[Instantrails-users] Mongrel BAD CLIENT errors * > 6 messages > ------------------------------ > * Dave Havard * * Mon, Oct 9, 2006 at 3:46 PM > * Reply-To: instantrails-users at rubyforge.org > To: instantrails-users at rubyforge.org > Hi > > I have just installed InstantRails and (after some work) have got my > existing app working. I am now getting BAD CLIENT errors on some form posts > but have no idea why. Having looked at the mongrel docs it seems I should be > able to get to the bottom of this if I can get debug set to true but I > cannot see where to do this in InstantRails? > > Any pointers? > > Thanks > Dave > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > ------------------------------ > * Curt Hibbs * * Mon, Oct 9, 2006 at 10:51 PM * Reply-To: > curt at hibbs.com > To: instantrails-users at rubyforge.org > On 10/9/06, Dave Havard wrote: > > > > Hi > > > > I have just installed InstantRails and (after some work) have got my > > existing app working. I am now getting BAD CLIENT errors on some form posts > > but have no idea why. Having looked at the mongrel docs it seems I should be > > able to get to the bottom of this if I can get debug set to true but I > > cannot see where to do this in InstantRails? > > > > Any pointers? > > > > You'll need to start mongrel by hand. Use Instant Rails to open a ruby > console window (menu command "Rails Applications>Open Ruby Console Window"), > change your current directory to move in to your Rails application's root > directory, and then type in the "mongrel_rails" command with whatever > options you like. > > Curt > ------------------------------ > * Dave Havard * * Tue, Oct 10, 2006 at 4:39 AM > * To: curt at hibbs.com, instantrails-users at rubyforge.org > Thank you Curt. > > That has got debugging working but has made things no clearer on why some > of my form posts are not working. The post does not seem to get logged - > only reported as a bad client to the console window. Any ideas what I should > be looking for? My view contains the following code: > > <% @title = "Sign up" %> > <%= error_messages_for 'user' %> > <%= form_tag %> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Username:<%= text_field("user", "username") %>
Password:<%= password_field("user", "password") %>
Confirm Password:<%= password_field("user", "confirm_password") %>
Email Address:<%= text_field("user", "email") %>
First Name:<%= text_field("user", "first_name") %>
Last Name:<%= text_field("user", "last_name") %>
Screen Name:<%= text_field("user", "screen_name") %>
> <%= end_form_tag %> > > Whilst my controller looks like: > > def signup > if request.get? > @user = User.new > else > if params[:user][:password] != params[:user][:confirm_password] > flash[:notice] = "Passwords do not match!" > else > @user = User.new(params[:user]) > if @user.save > session[:user] = @user.id > redirect_to :controller => "pages", :action => "show", :id => 1 > end > end > end > end > > The get part of the view is being rendered fine. Only when I post back is > it failing. > > Thanks > Dave > > On 10/10/06, Curt Hibbs wrote: > > > > On 10/9/06, Dave Havard < david.havard at gmail.com > wrote: > > > > > > Hi > > > > > > I have just installed InstantRails and (after some work) have got my > > > existing app working. I am now getting BAD CLIENT errors on some form posts > > > but have no idea why. Having looked at the mongrel docs it seems I should be > > > able to get to the bottom of this if I can get debug set to true but I > > > cannot see where to do this in InstantRails? > > > > > > Any pointers? > > > > > > > You'll need to start mongrel by hand. Use Instant Rails to open a ruby > > console window (menu command "Rails Applications>Open Ruby Console Window"), > > change your current directory to move in to your Rails application's root > > directory, and then type in the "mongrel_rails" command with whatever > > options you like. > > > > Curt > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > ------------------------------ > * David Morton * * Tue, Oct 10, 2006 at 9:38 AM * To: > instantrails-users at rubyforge.org > Cc: curt at hibbs.com > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dave Havard wrote: > > Thank you Curt. > > > > That has got debugging working but has made things no clearer on why > > some of my form posts are not working. The post does not seem to get > > logged - only reported as a bad client to the console window. Any ideas > > what I should be looking for? My view contains the following code: > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT error > means the > web browser sent an invalid HTTP request; it has nothing to do with rails. > > What browser are you using? > > - From that FAQ: > > What does BAD CLIENT mean? > > It means that a request came in which Mongrel rejects because it doesn?t > follow > the RFC grammar. Mongrel is pretty relaxed about most requests, but in > order to > block the majority of security attacks for web servers it is strict about > characters used, header formats, status line formats, etc. This is also > based on > matching the RFC?s grammar specification to a Ragel grammar specification, > so > it?s easy to compare. > > If you need to know why the client is triggering this, then simply hit > your > Mongrel processes with USR1 signals and they?ll log the full request data > and > parameters that were collected. Then, if you think the request is valid > send me > this data and I?ll look. If it?s not valid than fix the client. > > Mongrel takes the stance that all clients are written by software > developers and > that they should follow the standard. By doing this it reduces the bugs > and > potential security holes found in many other web servers. It also means > that if > you absolutely have to allow a bad client, then you?ll need to not use > Mongrel. > > > > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFK7BVUy30ODPkzl0RAma3AKDRcqL3oQJ5tvk3XyX1YJzuJHkvuQCglr2d > 1fx9ureC6X0dzEDqSo1JgaM= > =397F > -----END PGP SIGNATURE----- > ------------------------------ > * David Morton * * Tue, Oct 10, 2006 at 2:01 PM * To: > instantrails-users at rubyforge.org > Cc: curt at hibbs.com > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Oct 10, 2006, at 9:38 AM, David Morton wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Dave Havard wrote: > >> Thank you Curt. > >> > >> That has got debugging working but has made things no clearer on why > >> some of my form posts are not working. The post does not seem to get > >> logged - only reported as a bad client to the console window. Any > >> ideas > >> what I should be looking for? My view contains the following code: > > > > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > > error means the > > web browser sent an invalid HTTP request; it has nothing to do with > > rails. > > actually, now that I think about it, perhaps a request has a bad > character in it, or isn't properly url encoded? > > > > David Morton > Maia Mailguard http://www.maiamailguard.com > mortonda at dgrmm.net > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFFK+4DUy30ODPkzl0RAs07AKC41WT2g+7DCvw9wudA1pFe3UN3YgCgkLVP > SmJILQExLXV0SppFk96d2SY= > =qYsA > -----END PGP SIGNATURE----- > ------------------------------ > * Dave Havard * * Tue, Oct 10, 2006 at 6:16 PM > * Reply-To: instantrails-users at rubyforge.org > To: instantrails-users at rubyforge.org > Thanks David > > So are they saying that mongrel will fail if the browser is not right? I > am testing on IE6.0.29 and FF1.5. Would be surprised if mongrel does not > work with these browsers - how could it be used in production? > > Have you heard about this problem much? Seems like mongrel is become the > server of choice for rails, but even the scaffold code is failing - can't > believe it is rails or this issue would be plastered all over the net by > now. At the same time a web server which will not work with FF1.5 seem > unrealistic. > > Could it be something else? Maybe apache is changing something before > passing the request to mongrel? > > Given InstantRails is installing elsewhere without fuss i'll test on some > more machines... > > Thanks for your help. > Dave > > > > On 10/10/06, David Morton < mortonda at dgrmm.net> wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > On Oct 10, 2006, at 9:38 AM, David Morton wrote: > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Dave Havard wrote: > > >> Thank you Curt. > > >> > > >> That has got debugging working but has made things no clearer on why > > >> some of my form posts are not working. The post does not seem to get > > >> logged - only reported as a bad client to the console window. Any > > >> ideas > > >> what I should be looking for? My view contains the following code: > > > > > > > > > According to http://mongrel.rubyforge.org/faq.html, a BAD CLIENT > > > error means the > > > web browser sent an invalid HTTP request; it has nothing to do with > > > rails. > > > > actually, now that I think about it, perhaps a request has a bad > > character in it, or isn't properly url encoded? > > > > > > > > David Morton > > Maia Mailguard http://www.maiamailguard.com > > mortonda at dgrmm.net > > > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061011/d6c07ac7/attachment-0001.html From billfly at programmer.net Mon Oct 16 14:15:30 2006 From: billfly at programmer.net (Bill Fly) Date: Mon, 16 Oct 2006 13:15:30 -0500 Subject: [Instantrails-users] Why Apache and Mongrel? Message-ID: <4533CC42.9020407@programmer.net> Why does InstantRails include Apache? One uses Mongrel through the Manage Applications menu or WEBrick if you run Ruby script/server, so what does Apache do for InstantRails? Thanks, Bill From curt.hibbs at gmail.com Mon Oct 16 14:52:57 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 16 Oct 2006 13:52:57 -0500 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <4533CC42.9020407@programmer.net> References: <4533CC42.9020407@programmer.net> Message-ID: <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> On 10/16/06, Bill Fly wrote: > > Why does InstantRails include Apache? One uses Mongrel through the > Manage Applications menu or WEBrick if you run Ruby script/server, so > what does Apache do for InstantRails? > Thanks, > Bill > Three things come to mind: 1) When you're almost ready to deploy into production, you can test you application in an environment that more closely approximates the production environment. 2) You can use IR as a lightweight production server. In this case Apache is necessary if you are serving multiple Rails apps, each with its own domain ( i.e., you need virtual hosting, which mongrel doesn't provide). 3) Apache is needed to run the included MyPhpAdmin for administering your MySQL database. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061016/6015e392/attachment.html From mortonda at dgrmm.net Mon Oct 16 16:21:55 2006 From: mortonda at dgrmm.net (David Morton) Date: Mon, 16 Oct 2006 15:21:55 -0500 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <4533CC42.9020407@programmer.net> References: <4533CC42.9020407@programmer.net> Message-ID: <47FF369D-7D57-4EBD-B302-FDA8AC16BE79@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 16, 2006, at 1:15 PM, Bill Fly wrote: > Why does InstantRails include Apache? One uses Mongrel through the > Manage Applications menu or WEBrick if you run Ruby script/server, so > what does Apache do for InstantRails? Well, really, it doesn't do much of anything for a single app, but it's there as a placeholder to show that rails works with apache; Apache can host several sites (virtual hosting), whereas mongrel can't... It's also a placeholder until we get apache 1.3 replaced with apache 2.2, which can do the the load balancing to multiple mongrel. If you use IR for development and for a single app, just use mongrel. David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFM+nmUy30ODPkzl0RAtmeAKCHpVV3z/WKSgIp96FtBzNhx2I9EwCgibPO KmYEKXlzfxx7f3PDxKWb3CY= =Mw7+ -----END PGP SIGNATURE----- From timuckun at gmail.com Mon Oct 16 16:36:40 2006 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 17 Oct 2006 09:36:40 +1300 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> References: <4533CC42.9020407@programmer.net> <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> Message-ID: <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> Now that SQL yog is open source and free I for one don't see the need for phpmysql. I suppose it's useful in those circumstances where you only have the MSQL listening on a local socket but in most dev environments that's not the case. Having said that if one was to be truly minimalist one would use sqlite for development and mysql (or whatever) for production and testing and use migrations for all the schema changes so it would all work autmagically thanks to activerecord. In a perfect world of course. Just my $.02 From mortonda at dgrmm.net Tue Oct 17 11:45:12 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 17 Oct 2006 10:45:12 -0500 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> References: <4533CC42.9020407@programmer.net> <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> Message-ID: <4534FA88.5000509@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Uckun wrote: > Now that SQL yog is open source and free I for one don't see the need > for phpmysql. I suppose it's useful in those circumstances where you We are planning to have IR be multiplatform; SQLyog is only for windows. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD N11pk+w08kBCsdEVJSEioak= =JBGd -----END PGP SIGNATURE----- From lists at davidlangston.com Tue Oct 17 15:29:00 2006 From: lists at davidlangston.com (Dave Langston) Date: Tue, 17 Oct 2006 12:29:00 -0700 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <4534FA88.5000509@dgrmm.net> References: <4533CC42.9020407@programmer.net> <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> <4534FA88.5000509@dgrmm.net> Message-ID: <45352EFC.6060301@davidlangston.com> IR Developers, Have you looked at the Mysql tools ( http://www.mysql.com/products/tools/ ). They are cross platform and are available with same licensing as Mysql itself (and are generally more powerful than MyPhpAdmin IMO)... rgds, Dave L. David Morton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tim Uckun wrote: > >> Now that SQL yog is open source and free I for one don't see the need >> for phpmysql. I suppose it's useful in those circumstances where you >> > > We are planning to have IR be multiplatform; SQLyog is only for windows. > > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD > N11pk+w08kBCsdEVJSEioak= > =JBGd > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > From tanner.burson at gmail.com Tue Oct 17 15:51:10 2006 From: tanner.burson at gmail.com (Tanner Burson) Date: Tue, 17 Oct 2006 14:51:10 -0500 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: <45352EFC.6060301@davidlangston.com> References: <4533CC42.9020407@programmer.net> <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> <4534FA88.5000509@dgrmm.net> <45352EFC.6060301@davidlangston.com> Message-ID: On 10/17/06, Dave Langston wrote: > > IR Developers, > > Have you looked at the Mysql tools ( > http://www.mysql.com/products/tools/ ). They are cross platform and are > available with same licensing as Mysql itself (and are generally more > powerful than MyPhpAdmin IMO)... I have personally used them, and find it almost unbearably buggy on Linux. It's useful in a pinch, but I've found myself diving into the mysql command line to avoid using that tool. rgds, > Dave L. > > > David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Tim Uckun wrote: > > > >> Now that SQL yog is open source and free I for one don't see the need > >> for phpmysql. I suppose it's useful in those circumstances where you > >> > > > > We are planning to have IR be multiplatform; SQLyog is only for windows. > > > > > > - -- > > David Morton > > Maia Mailguard - http://www.maiamailguard.com > > Morton Software Design and Consulting - http://www.dgrmm.net > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2.2 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD > > N11pk+w08kBCsdEVJSEioak= > > =JBGd > > -----END PGP SIGNATURE----- > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > -- ===Tanner Burson=== tanner.burson at gmail.com http://tannerburson.com <---Might even work one day... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061017/cd145dbe/attachment.html From timuckun at gmail.com Tue Oct 17 16:57:47 2006 From: timuckun at gmail.com (Tim Uckun) Date: Wed, 18 Oct 2006 09:57:47 +1300 Subject: [Instantrails-users] Why Apache and Mongrel? In-Reply-To: References: <4533CC42.9020407@programmer.net> <31d15f490610161152g5ecc78d4pac768360a6bfc396@mail.gmail.com> <855e4dcf0610161336h4bb3c16i12b126ca85a23284@mail.gmail.com> <4534FA88.5000509@dgrmm.net> <45352EFC.6060301@davidlangston.com> Message-ID: <855e4dcf0610171357t5e89c393qbbae601223fecd9b@mail.gmail.com> If you are going to include a mysql tool then I would think phpmysql would be one that has the smallest footprint and still be cross platform. Is there something like phpmysql written in rails? That would be ideal I would think. From pa_inbox at yahoo.com Wed Oct 18 16:50:25 2006 From: pa_inbox at yahoo.com (Pankaj Agarwal) Date: Wed, 18 Oct 2006 13:50:25 -0700 (PDT) Subject: [Instantrails-users] Edge Rails.. Message-ID: <20061018205025.7558.qmail@web37213.mail.mud.yahoo.com> I am trying to update my InstantRails installation to Edge rails but getting below error on E:\work\deopt_local\depot>rake rails:freeze:edge --trace (in E:/work/deopt_local/depot) rake aborted! no such file to load -- E:/work/deopt_local/depot/config/../vendor/rails/railties/lib/initializer E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' E:/work/deopt_local/depot/config/boot.rb:16 E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' E:/work/deopt_local/depot/rakefile:4 E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in `load' E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in `load_rakefile' E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in `run' E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 E:/InstantRails/ruby/bin/rake.bat:25:in `load' E:/InstantRails/ruby/bin/rake.bat:25 Help is appreciated. -Panks From pa_inbox at yahoo.com Wed Oct 18 21:05:59 2006 From: pa_inbox at yahoo.com (Pankaj Agarwal) Date: Wed, 18 Oct 2006 18:05:59 -0700 (PDT) Subject: [Instantrails-users] Edge Rails.. Message-ID: <20061019010559.90008.qmail@web37206.mail.mud.yahoo.com> I also tried below gem update -s http://gems.rubyonrails.org suggested by DHH at http://www.loudthinking.com/arc/000348.html but I get an ambiguous option: -s error --- Pankaj Agarwal wrote: > I am trying to update my InstantRails installation > to > Edge rails but getting below error on > > E:\work\deopt_local\depot>rake rails:freeze:edge > --trace > (in E:/work/deopt_local/depot) > rake aborted! > no such file to load -- > E:/work/deopt_local/depot/config/../vendor/rails/railties/lib/initializer > E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > E:/work/deopt_local/depot/config/boot.rb:16 > E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > E:/work/deopt_local/depot/rakefile:4 > E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in > `load' > E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in > `load_rakefile' > E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in > `run' > E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 > E:/InstantRails/ruby/bin/rake.bat:25:in `load' > E:/InstantRails/ruby/bin/rake.bat:25 > > > Help is appreciated. -Panks >