similar to: reloading in development

Displaying 20 results from an estimated 9000 matches similar to: "reloading in development"

2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive. I have CREATE TABLE `bags` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE `packages` ( `id` int(255) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE
2006 Feb 28
4
How to use Ruby on Rails on OS X
Direct from the horse''s mouth. :-) http://developer.apple.com/tools/rubyonrails.html Found via: http://digg.com/technology/Apple_makes_a_concise_Ruby_on_Rails_tutorial -- -- Tom Mornini
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows and pass it as a string of names. I''m missing something obvious here but I thought @bag.packages.name.join(", ") would work. do I have to loop through @bag.packages? that seems like the long way. thanks -zac -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
2
simple stuff in rails rhtml
after playing with the DB interaction I''m moving on to doing some file IO. but I''m completly lost as to where to put the code and how to call it. I''m trying to get a list of files in a directory and it''s not obvious to me how to do this in Rails via a controller method. so ruby code is Dir.entries("testdir").last and html code is <%=
2005 Dec 08
7
Help shut down webbrick on mac?
Hello, I just installed radrails and it will not run the webbrick because a version is already running on my mac. I do not know how to shut down the mac version. Thanks Regards, Frank Rocco farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org
2006 Jan 04
10
Is Webrick good enough?
Hi all, On the rails list I''ve seen that it''s hard to integrate Rails with Apache (especially apache2), that it''s hard to change the default port (3000), and that Apache runs Rails stuff slowly. Is it reasonable to run Rails stuff on Webrick while simultaneously running other stuff on Apache? How does one simultaneously run two rails applications on Webrick, when
2006 Feb 28
2
dispatch.fcgi aborted: error parsing headers
I''m trying to do file upload with rails and fcgi. Basically, i want my users to be able to upload images on the server. After the upload, I get a 500 error from apache and in the error log I find this: FastCGI: comm with server "/var/www/workspace/mydomain/public/dispatch.fcgi" aborted: error parsing headers: malformed header
2006 Apr 20
1
error on stpexec : ROR on Linux with SQLServer Connection
So I got my rails app to connect to the SQLServer via ODBC, and I can model/scaffold, yada yada.. but when I need to exec a stored proc using sql_server.rb I get undefined local variable or method `connection'' how can that be, if I can connect for everthing else? thanks -- Posted via http://www.ruby-forum.com/.
2006 Feb 19
5
Memory use: WEBrick vs Apache
Hello, >From purely a memory consumption standpoint, is it generally more efficient to run a simple Rails app using WEBrick alongside a separate apache installation or to run Rails under FCGI and use Apache to bridge to the Web? I have looked through lots of docs and old forum posts. Most seem to center on just getting Apache+Rails running, or on speed. I am really not concerned about my
2006 Feb 10
1
Caching in development mode on webrick
Hi, I''m running a more or less up-to-date system, and am encountering something that''s irritating me: I make changes to the .rhtml file, and yet don''t see them from my browser. The development.log file indicates that 1) I am indeed in development mode, and 2) queries are being run against the database, so something is happening - it''s just not reading in the
2005 Oct 16
6
FreeMIS Open Source Project - packaging advice needed
Hi. FreeMIS is about ready for a first release as a Ruby-on-Rails based application. I''m beginning to realise that there''s a lot of stuff to be installed before you can get even a WEBrick served version up and running: MySql, Ruby, ruby-mysql bindings, rubygems, rails, and a couple more gems - raspell (which needs aspell) and tzinfo. I''m trying to figure out the
2005 Nov 30
7
newbie: Getting started on Windows XP & MAc OSX 10.4
Hello, What installs do you recommend for Windows XP and MAc OSX 10.4? I want to setup Rails as easy as I can. Thanks Frank -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
1
singular table names testing
I''ve demoed my rails app and now have to move it to a MSSQL DB. the big problem I''m running into is the table name conventions I have to use. I have to use names like tbl_Transfer & tbl_User. In my tests on the console, I am trying myvar = tbl_Transfer.find_by_sql("select top 1 * from tbl_Transfer") NameError: undefined local variable or method
2006 Mar 01
2
kickstarting with rails routing problem
I''ve rewritten my kickstart cgi in rails with DB acces to the host list and the testing is perfect. I can send the macaddress in the HTTPrequest Header, rails looks up the macaddr in the machine db and spits back out a kickstart file for the machine.. however in real world usage what I get is a request for http://server//kickstarts/kickme which rails fails with 192.168.20.176 - -
2006 Mar 16
2
how to limit standard layout on action
I have an action/view that I need to return only data (other external processes query this action/view) but I need the standard_layout template to be attached to the other actions/views in the same controller. ie, the editing of the data in the model needs to include all the navigation, except one view which should just return a text/plain output. how do I say "include
2006 Feb 01
1
SwitchTower & CVS repository
Is there a document describing the configuration of SwitchTower with CVS repos? specifically what do I do with the "set :repository " line? "http://cvs/#{application}/trunk" ain''t gonna work. thanks -- Posted via http://www.ruby-forum.com/.
2006 Feb 25
5
WEBrick Bad File Descriptor Error
All of a sudden I have a wierd error when running script/server on a Windows XP box. Webrick is failing with a bad file descriptor error. I''m sure it''s conflicting with something in my enviornment, but I cannot figure out what. I googled the issue and haven''t been able to find any answer for it. Although, I did find a workaround. If I''m using a port above
2006 Mar 19
38
Macbook for Rails Development
Hi All, I''ve finally got fed up of struggling with Windows and am on the verge of splashing out on a Macbook for Ruby/Rails development. I''ve seen DHH''s post about it on loudthinking but I wondered if anyone else has any more wisdom... Is it worth it over a powerbook? Any tips on good OSX apps for Rails dev (textmate, i know already)? Anything not working well on
2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire WEBrick using the development environment, it does not reload the app with changed views. I have to shut down WEBrick and restart it to see the changes. Has anyone else had this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2005 Sep 27
6
Locomotive 0.2.4 for Mac OS X 10.3+
I am pleased to announce the newest release of Locomotive! http://locomotive.sourceforge.net Mostly a bug fix release. If you are using Locomotive on 10.4 you should definitely upgrade. New in 0.2.4 ============ * Rename application entries in status window * Run/Restart/Stop buttons now immediately update * Bundle choosing is fixed for Mac OS X 10.4 * Missing gem dependencies in Rails 0.13.1