similar to: PHP in Rails app running on WEBRick

Displaying 20 results from an estimated 8000 matches similar to: "PHP in Rails app running on WEBRick"

2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my controller. Do I then need to restart my WEBrick server each time that I change the module? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jan 29
2
WEBrick not starting
I''m running WinXP and recently upgraded to the most recent version of rails. Unfortunately script/server gives me Booting WEBrick... Then it silently dies without starting. My previous version of rails can still run WEBrick just fine. Anybody seen this? -Theo
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C at the console? I''m looking for, perhaps, a script/shutdown command, or perhaps a special URL that will request WEBrick to die. It can be a command run in a different shell, or, as I said, a special URL. Anyone? Tom Harris Cisco Systems -- Posted via http://www.ruby-forum.com/.
2006 Jun 23
1
Apache console like WebRick
Hi all, When my Rails app is running in development mode with WebRick, I can see the requests being printed out to the console. Is there a way I can get the same sort of view for Apache when I''m in production mode on the live server? Is there a standard way to telnet in or over ssh to see that output? Thanks, Douglas
2006 Apr 05
25
How to avoid bunch of <% %> ??
Hello, I would like to know is there is a way to avoid poluting the views with tons of <% %> ? Like this <%= start_form_tag() %> <%= text_field_tag(''category[title]'', category.title, {:size => 20, :maxlength => 128}) %> <% if not category.parent_id.nil? %> <%= select("category", "parent_id", Category.find(:all,
2006 Feb 14
7
onFailure fails?
Hi all, I have this code: new Ajax.Request(''non_existant.file'', { onSuccess:function(){alert("yay");}, onFailure:function(){alert("boo");} }); Why does the onFailure alert never get called? It works fine if I use a real file (onSuccess gets called). Thanks, Douglas
2006 Jan 14
14
Javascript/AJAX Debugging
Hello ! I''m trying to implement something similar to the "multiple updates" section of the Web2.0 chapter of the Agile book. I implemented my version, and nothing is happening. No javascript errors, my logs look fine, page is rendered fine... just no Effect.Highlight. Here is the code: views/causes/cause_home/index.rhtml =============== <%= form_remote_tag(:complete =>
2006 Aug 18
8
- Lingr is born
Hello everyone- In the spirit of previous Rails-based product announcements that I''ve seen here, I''m pleased to announce Rails'' newest progeny, at http://www.lingr.com. Lingr is a community site where you can chat about your current interests, in realtime, right in your browser. You can find related topics, meet new people, and just have fun in general.
2005 Nov 16
4
What happened to mysql connection?
I''ve been using Rails for more than six months and until today I had no problem with mysql connection. It''s a Mac OS X 10.4 box having rails installed and updated by gem. I use a remote mysql server no local instance installed. Here''s my config: development: adapter: mysql database: hdchat host: 10.0.0.1 username: webuser password: test: adapter:
2013 Feb 12
1
[SC] EnumQueryServicesStatus:OpenService FAILED 123
*Hi guys!* * * *I''m trying to perform a service creation using SC and if this service is already created, using an "unless" we can avoid it. * *Sound very simple, but for any reason, when instructions are called by puppet they are not working instead you call directly, same instructions, using DOS, where works sweet.* * * *Here is part of the code:* $cmd =
2006 Jul 29
9
How to write RoR code
Hi all I took a look to several examples of RoR on different web sites, and I found that it is hard to write a class, in RoR, because I do not understand all the codes used on the source code. jsn -- Posted via http://www.ruby-forum.com/.
2006 Jan 15
4
Redcloth gem properly installed ... still errors
Hi all, installed redcloth for using the object.attrib.textilize method in a template. Using 3.0.3 because it supoosedly works the best with rails 1.0.0. Keep getting the undefined method error. Did the require thingy, but no luck What would be the most I''m-a-guru place to put the require btw? Thanx. Gerard -- "Who cares if it doesn''t do anything? It was made with
2006 Jan 11
6
Help -- NoMethodError in
Hi, I am just learing Rails and I am going through the Agile Web Development with Rails book. I am receiving: NoMethodError in Store#add_to_cart undefined method `add_product'' for #<StoreController:0x3764d80> RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/controllers/store_controller.rb:12:in `add_to_cart''
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in Vancouver for the mini-workshop I did on the 27th last month, I am making available the 30 slides I used for the presentation. The slides were used in conjunction with me demonstrating it via command line. Alot was learned by both attendees, and quite possibly even more so by myself while teaching the material. I created
2006 Aug 18
4
DateBocks v2.0.0 Released
Excert from http://www.nshb.net/datebocks-2-0-0-released Woohoo!! Finally released the next generation of DateBocks (aka DateBox) v2.0.0. This was a long time coming, after its initial version release allll the way back in January, this is a nice edition to the popular tool I released before. This version is chalked full of features. Here is the cut out from the CHANGELOG == 2.0.0 - AUGUST 16,
2006 Jan 02
19
AR: How to store and restore in YML.
Hello- I have a database with entries that are segmented by customers. I would like to be able to store / delete / restore a particular customer''s information. I will need to rebuild the rows on restore and also rebuild the associations for the different tables. For example, customer { id name } companies { id customer_id (belongs_to) name } contacts { id
2006 Mar 30
10
Problems upgrading to Rails 1.1
Hi All, I just tried to upgrade to Rails 1.1 on my Linux server and had the following issue when running the second part of the upgrade. [root@localhost ~]# rake rails:update rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1635:in `load_rakefile'' (See full trace by running task with
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community, I have been putting off implementing a Date selector for too long. Tonight, I finally put it in. I made the choice to go with the datebox engine. Once I got it installed and working, I realized I didn''t like the way it required you to call it. Example: <% @dateField = model.date %> <%= date_box %> or... <% @dateField1 = model.date %> <%=
2006 Apr 17
9
ruby on rails book, fundamental question
Hi guys, bought the ROR book. I understand most of it and really like it. There is just on thing I just dont get. Lets take this code for example. def list @products = paginate :product, :per_page => 10 end As far as I understand @products should be some kinda hash or array, with the data of the Database inside. How can I display this array ? One solution is to do it like this (like in
2006 Jul 23
6
routes
My best guess at how to make this route map.connect '':user'', :controller => ''user'', :action => ''profile'' makes my link_to :controller => ''admin'', :action => ''index'' stop working ? I''m needing urls like http://localhost:3000/username but without breaking all my other controller index