similar to: help with "rake db:migrate" error please?

Displaying 20 results from an estimated 3000 matches similar to: "help with "rake db:migrate" error please?"

2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi, Background: I''m currently stuck getting my basic rails application working on dreamhost. I have gone throught the doco. Note that I can via my unix account run "ruby script/server" and get the application working via webbrick. The problem I am having is that trying to go to the app via the normal apache approach my browser just sits and spins with nothing coming
2006 Jul 26
1
Is capistrano command meant to be run on remote server??
Hi, Just setting up capistrano. Have dev & test on my PC and production on a remote dreamhost server. I''m following http://wiki.dreamhost.com/index.php/Capistrano Basic question, but are the various capistrano commands meant to be run from the local PC, or from the remote server? Is the idea this is all about production deployment tasks hence can be run on the remote server,
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi, Can anyone help me out re how I change the startup options for mysql (v5.0) running on my Mac? (I just want to add the "--log" option is about it). I tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however this started a 2nd instances of mysql & mysqld. Here is what I see start after Mac startup if this helps: $ ps aux | grep mysql _mysql 137 0.0
2006 Jul 18
1
Capistrano Deployment on Dreamhost
I''m having trouble getting Capistrano to work on Dreamhost. I seem to be having problems logging in, but I can ssh fine to my dreamhost server from this machine. This doesn''t seem like a dreamhost specific thing to me, but I''m kind of stuck. Here''s the exception I get from "cap setup":
2009 Sep 25
8
Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???
any pointers / suggestions re cheapest Rails hosting where they give you full access to Apache (to load modules etc)??? Can be a shared platform, however not sure if there is a shared platform type hosting service where they do give you such access?
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all! I''m trying to deploy an application out to a subdomain at dreamhost. I am getting the dreaded "Rails application failed to start properly" error. The logs for my app are empty. In the DreamHost FTP app, when I look in the error.log file (I''m guessing this the Apache error log file) I see the following for each of my attempts: [Sun Jul 16 12:36:32 2006]
2006 Jul 19
11
Hosting a Ruby App From Home - Approach?
Hi, Any advice/comments on the potential for hosting some personal Ruby applications from home? (i.e. for learning, sharing with friends etc) Would the basic concept be: * Need to buy a static IP address from you ISP * By a domain name and point it to the static IP address * Run Apache as the front end web server - Q: What basic lockdown/security steps should one take? * Perform a PORT
2006 Jul 22
5
HTML generation w/out browser Interpretation
I just recently moved my web application to production mode and published it online. While everything functioned ok locally, I have a very bizarre error now affecting my application. One of my controllers, Work, is not behaving properly. Whenever I call the action new, create, edit, or update I get all of the HTML generated to my browser (this happens in Firefox, Camino, and Safari) but the
2006 Jul 24
3
0.9.0 Version of Gem installation problem?
Hi all. I have installed latest INSTANT RAILS i.e 1.3 When i run the following command: c:\instantRails\ruby\bin>gem -v it returns 0.8.11 I want it to be 0.9.0. I have downloaded gems 0.9.0 but i dont know how to place them and where so that i get the latest version of gems. Please help me out. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 24
4
[Slightly OT] Dealing with lost connections
Hi! I know that the web is essentially stateless, so I was wondering about how lost connections can be managed. I have an application that posts data to a web form. This form has a large number of items (about 38) and I''m a bit concerned about the connection being lost while posting the data. Is it safe to assume that the web application will reject the transmission if the right
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of numbers (in my case, percentages not money) as integers in the database. I understand from the Depot application how to format the output to have 2 places (or n places for that matter) decimal. Now, I"m wondering about the input. It''s more natural for people to enter numbers as
2006 Jul 25
7
Question about Associations and Eager Loading
Hey everyone, I''m currently making an application that allows users to create custom fields that have attributes associated with each field. They can then attach instances of these fields (each with their own separate attribute instances) to their account. So, it looks like this: Fields / \ Field Instances Field Attributes \ / Field
2006 Jul 24
3
Customize list.rhtml to display only certain db columns
Hi, Very new to RoR; have been a flash developer for four years or so. I have an urgent question -- in the list.rhtml file, I only want to display certain columns instead of dumping out all the columns in the database. Could someone shed some light this topic? Thanks!!! Sam -- Posted via http://www.ruby-forum.com/.
2006 Jul 23
4
Anything like with_scope for ActionController?
There are areas of my application that "want" to use a url structure like domain/<human_readable_param>/<Module>/<Controller>/<Action>/<Id> Please note that the human readable parameter I need to inject is NOT related to the <id> being used by the action/controller pair. It''s identifying a container object whose contains are operated
2006 Jul 24
8
Views in one controller reaching out to other controllers (best practices)
Hello all. For the purpose of my question, let''s imagine we''re building some search functionality. You''re a sales person (you poor sap). And you''re hanging out in the SalesCenterController. You need to do a search for available productions; you''ve decided to be cool and use Ajax. Do you... a) Make a remote call to an action in your current controller
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before saving the comment, I want to be sure that the upload(s) has passed validation, but I also need to validate in other ways. For example, I do not want to save the comment if there is no comment or upload. Or, I do not want to save the comment if the image has been uploaded previously (comparing md5s with past upload md5s
2006 Jul 21
3
Re-formatting email line breaks
I''m trying to re-flow email messages, removing the line breaks that get added by mail programs so that the lines don''t exceed 72 characters. Mail.app and Thunderbird seem to insert a space character before each added line break. Outlook replaces new lines in the email with double \n''s, then uses single \n''s for the ''soft'' line breaks.
2006 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on <http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like: set :user, ''dankohn'' set :application, "flydash.com" set :repository, "http://svn.flydash.com/flydash/flydash" #set :repository, "svn+ssh://home/#{user}/svn/flydash" #set :repository,
2006 Jul 20
7
Can this be done?
What I want: I get a normal http request containing a URL from a remote server. Instead of redirecting to that URL, I want to load it into an iframe on an existing page. I''ve tried a number of approaches with no success. Can anybody suggest a good way to do this? Alternatively, if you can say "this is bloody impossible, because....", that would be helpful, too. --Al Evans
2006 Jul 14
3
compare two tables and find the difference?
I need to compare a column in TableA to a column in TableB and then select 3 columns from TableA for all the records in TableA that don''t exist in TableB. TableA and TableB are different but do have one field in common that i am comparing. The tables are not related in anyway. right now I have a find_by_sql query located in a model that looks like this: def self.absent_charges