Displaying 20 results from an estimated 30000 matches similar to: "cPanel RoR with mySQL database"
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything
seems to work except for deployment. i go through the entire process of
setting up a new rails app on a cpanel account and i get:
Not Found
The requested URL /testapp/index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
2006 Apr 26
1
Installing ror on vps with cpanel
Hi,
I am installing in my vps following the intructions of
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
I installed ruby by shell fine but when i try install gems y obtain this
error
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
hook
2011 May 21
4
RoR and problem with connection to MySQL database
Hello,
I am building my first application with MySQL database and I am solving
this problem - my app can''t to connect to MySQL server.
MySQL server is running, in terminal (I am working at Mac) I created
MySQL table and I set password to MySQL with using following command:
mysqladmin -u root password ''mypass''
in database.yml is:
development:
adapter: mysql2
2012 Jun 09
7
ActiveRecord::AssociationTypeMismatch in UsersController#update
Hi
Im trying to link my User model to a Teams model. I seem to be getting
the following errors. Any help would be great as Im just new to RoR
Thanks
error
ActiveRecord::AssociationTypeMismatch in UsersController#update
Team(#2183395560) expected, got String(#2174675960)
app/controllers/users_controller.rb:67:in `update''
app/controllers/users_controller.rb:66:in `update''
2006 Jan 17
2
New RoR app: RTRails 0.1. Uses HTTP push and a window system
hi all,
anybody care to see my new rails app? It is the second version of
Realtime on Rails.
Link: http://ccml01.medien.uni-weimar.de/
Two screenshots:
http://www.uni-weimar.de/~scheffl2/amsterdam/screenshot_rtrails_1.jpg
http://www.uni-weimar.de/~scheffl2/amsterdam/screenshot_rtrails_2.jpg
Here''s the project description:
A RoR app using Ajax HTTP streaming to update browsers from
2008 Jan 10
2
Database most suited for RoR
Hi,
Out of curiosity I got to learn Ruby on Rails. Wondering somehow, as to
which Data base is best suited for Ruby on Rails and Why? Any
Comments/Suggestions Please!
Thanks
Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Jul 25
4
playing a wav file in RoR
Hi RoR Folks,
Have a MySQL database with a blob datytype with .wav files loaded into
them. Would like to have a button on a form that toggles between play
and pause when clicked and will play the .wav file.
Any suggestions on the best way to implement this?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2010 Dec 01
6
Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError
I just installed my RoR application on my ISP''s server.
This is a Cpanel environment and it creates a .htaccess file:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^xyz.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.xyz.com$
RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12001\/$1" [P,L]
in a public_html directory. (I changed my domain name in the text above
to xyz because we are
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All
I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website.. but am stuck on one point.
here are some notes from article:
Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path).
2007 Aug 07
4
Howto use ENCRYPT() function of MySQL
Hi all,
I''m working actually on a Control Panel to manage a mail system.
Until now, when I create a new mail account, i do an insert and protect
the pasword with ENCRYPT(''password'') function.
I can''t change the method to SHA1 or MD5 because the SMTPd a IMAPd will
not support it.
Can you explain me how to force RoR to rewrite the INSERT SQL query and
use
2009 May 15
13
How to calculate java method timestamp?
Hi,
I need help in calculating Java method time-stamp in following fashion.
Consider following method example.
long method3(long stop) {
try {
Thread.sleep(1500);
} catch (Exception e) {
}
//////////////////// real CPU intensive operation ///////////////////////////
for (int i = 1; i < stop; i++) {
stop = stop * stop * i;
};
2012 May 03
6
Hosting application on private network.
Hi,
I have a Ruby on Rails application. I am able to run it in my local
system using Apache2 server. I would like to host my application so that
all the systems in the private network 192.168.3.0/24 should be able to
access the web-application. My system private-ip is 192.168.3.57.
Please help me what all configurations do I need to do.
Thank you
Ajit
--
Posted via
2006 Mar 25
1
confused on RoR deployment
sorry if this seems to be a dumb question. i just started trying to
learn RoR this week. basically i got everything running great locally on
my mac. i have a dedicated server that i''d like to start using ruby on
rails for but i''m a little nervous about installing it.
the main thing is deplyment in apache. i have apache turned on locally,
but i think it''s still using
2008 Dec 13
3
how to do "special queries" ala The Rails Way on "associated" conditions?
I have the following in a model class:
class Game < ActiveRecord::Base
has_many :player_stats
has_many :players, :through => :player_stats
def visitor_stats
stats = []
player_stats.each do |stat|
stats << stat if stat.player.team.team_code ==
self.visiting_team_code
end
stats
end
def home_stats
stats = []
player_stats.each do |stat|
stats << stat if
2011 Apr 05
2
Help to check data before putting it in a database
The example scene:
I have a database with stats about each goal made by my soccer team. This
database (a data frame in R) is organized in lines (goals) with a set of
columns containing data about these goals (player name, tactic position,
etc). For now, this database will be called "data.frame1".
What I need is to feed this "data.frame1" with new information about my team
2012 Nov 21
1
[JOBS] RoR Developer at SF Google-Backed Start Up
The Climate Corporation is a Google Ventures funded big data startup with a
mission to help people adapt to climate change. We make sense of huge
amounts of complicated data and run simulations <http://goo.gl/9Fv0J> to
determine the risk of adverse weather, which influences 25% of GDP.
We are looking for a Web Application Developer who are passionate about
innovation and share the value
2012 Aug 01
2
'redirect_to' taking infinite loop.
Hi,
The following controller method taking me into infinite loop. Once the
update action completes I want to reload the ''index'' page. May I know
why it is going into infinite loop?
def update
Device.find_by_id( params[:device_id] ).driver = (
params[:driver_id] == 0 ) ? nil : Driver.find_by_id( params[:driver_id]
)
redirect_to :action => :index, :tab =>
2011 Apr 26
0
Looking for Lead Developer (RoR)
Lead Developer
Type: Permanent
Benefits: Flexible hours, casual/laid-back environment, other perks
t.b.d.
U.S. based online travel startup looking for a lead developer for the
development team; preferably with strong experience with Ruby on
Rails. However, can be flexible in this regard; more concerned with
quality of work and dedication to the team/vision.
We are looking for a Lead Developer
2008 Jul 02
1
MySQL gem vs RoR default library
I have Rails v 2.0.2
Ruby v 1.8.6
MySQL db v 5.x
I am confused as to whether we should use the MySQL gem or the RoR
default MySQL support library.
The consultants that had worked on the initial phase of the project
had me remove the gem saying that
it is better to use the RoR library, that the gem was necessary in
earlier version of Rails.
BUT, I get the WARNING below which says the opposite.
2007 Oct 11
3
Please Help.
Hi,
I want to use USDT in my java applications.
Please tell me how to achieve this.
I am comfortable with SDT in C application.
I am using Solaris Sparc10 with Generic_120011-14 version.
Do I need to update my machine for this?
Thanks,
Ajit
--
This message posted from opensolaris.org