What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested RubyOnRails Solutions: 1 - 25 of 89
 
I'm trying to get ruby on rails working with the MySQL install from MAMP. I've followed the instructions at http://boonedocks.net/mike/archives/175-MAMP-and-the-Ruby-MySQL-Gem.html But ...
getting a Mysql::Error: query: not connected error database exists user root with no password
I have a small bit of code that works out how long an enquiry has been left unattended by checking the updated_at field, and this gives me something like 87623 mins... Is there a way I can ...
I have the following models, where `favorites` acts as a join table for my `users` to store their favorite `items`: class User < ActiveRecord::Base   :has_many :favorites   :has_many :ite...
I'm sure this is really easy - once you know rails - (or if you haven't been living in a .NET sandbox for 5 years), but, how can I get a regular ole form submit button in the shape of a link? ...
I'm working through the tutorial "Rolling with Ruby on Rails" by OReilly Media and I've done everything they said except the Hello World page comes up with a "No route matches "/MyTest/" with ...
I would like to learn to implement role-based access control on my growing apps. In former days, I would create a db field for users with a string like 0000101111101100011111, where each place...
How to create a html link to a file outside rails application directory using ActionView? I am trying to render a file stored in my /tmp directory using render or link_to methods of action v...
Hi there, i'm having a hard setting up a select list in a rails form. I want the select list to update a field called 'artist_cat' in a table called "artists" with the id value of a table ...
Please Note I already had apache2 and MySQL installed before installing ruby and RoR with the instructions listed in the two links below. I installed ruby 1.8.7 with apt-get and gems I inst...
I am working on a Ruby on Rails application where musicians/bands can come and share/advertise their tracks/albums etc. Something similar to purevolume.com or reverbnation.com. There is goi...
I have a ubuntu hardy server with REE 1.8.7 and rubygems 1.3.5. I think there is a version problem but I can't find it. When I require the gem SystemTimer in my rails application  i get an err...
Dear experts, I am trying to upgrade ror (at my Windows home PC) to version 2.3.3 by running gem install rails. But fail while it was trying to update fcgi gem, with following error (bellow)...
How would I embed images in an HTML email using ActionMailer?  I can manage to get the HTML/Plain text email but nothing more than that.
I did follow this tutorial http://guides.rubyonrails.org/getting_started.html#hello-rails up to point 4.1 "starting up the web server". Rails is configured to work with Apache, using Passeng...
Hi there, I'm having an issue with a RoR website : when trying to save a text change into the database i get the error below Strange thing is that i imported the database from production...
Have a problem getting mysql gem to compile and install. Can someone take a look at the error attached and let me know if I'm missing anything.
I am new to RoR. I now want to learn the AJAX side of RoR. Let's say I have a DIV named "secret" , with a couple paragraphs of text. How would I trigger a show/hide function from a link...
Hi, I am trying to convert MS word files into an HTML format. I have used Abiword and OpenOffice (PyDocConverter) for the document conversion. I am able to convert document using both tools...
I am trying to do something I can't find documentation on.  I can do something close as a SQL string so i know it's possible, I just would like the Rails way to do it. I have 2 (tableA and ...
I am trying to figure out what is wrong with using ar_mailer and I was hoping that someone might have some experience with it.  I am using the plugin instead of the gem because the gem seems t...
Im designing a relatively simple database where i have a table called accommodations which has a column called pictures. This column will store the locations of multiple pictures associated wi...
I want to override the id when I'm creating a new object. But this doesn't work: System.create :id => 105204, :name => "Torsten" Rails just replaces id with its own auto generated value....
We need to achieve this sql with activeRecord:      select a1.*, c.name as category from appointments a1, employee_categories c       where position_date = (         select max(position_...
I'm new to rails and I'm having problems figuring out how to limit the ability to for 1 user to see the records that another user creates. I have Users and Children and I want to make it so a ...