similar to: beginner question

Displaying 20 results from an estimated 20000 matches similar to: "beginner question"

2009 Jun 10
5
Deploying with Passenger question
Hi, I followed the instructions for deploying a site with Passenger from the screencast that is on the Phusion Passenger site and it didn''t work. I am using Dreamhost to host my site- could the problem be on their end? Someone suggested that I do: passenger-install-apache2-module on my command line but I already did that when I first installed Passenger and the Passenger Pref pane
2008 Jul 15
9
Beginner Question.
I''m just getting into RoR, coming from a long PHP background. So far I LOVE IT! I''m hitting a roadblock with updating my mysql database. For simplicities sake, I have 2 tables and here are the relevant columns. Table Users id name email Table Issues id createdby assignedto reportedby In my models I have everything mapped properly I believe. When I try to update the
2008 Nov 28
3
Beginner: "NameError - uninitialized constant" when I create a model object
My first Rails example using model and I got this NameError: NameError in VandaController#att uninitialized constant VandaController::Compute Same code works fine if I don''t create the Compute object. What did I do wrong? Here is the Controller class VandaController < ApplicationController def att @compute = Compute.new @data1 = @compute.cmpt end end Here is the Model
2009 Sep 15
2
[LLVMdev] LLVM Beginner Question
On Sep 15, 2009, at 10:55 AM, Óscar Fuentes wrote: > Graham Hemingway <graham.hemingway at gmail.com> writes: > >> I am just getting started with LLVM and am having some build issues. >> I am running Snow Leopard and like to use XCode as my IDE. I know >> that I need to compile with llvm-config to get all of the proper >> build >> settings. My
2009 Sep 15
0
[LLVMdev] LLVM Beginner Question
Graham Hemingway <graham.hemingway at gmail.com> writes: > I am just getting started with LLVM and am having some build issues. > I am running Snow Leopard and like to use XCode as my IDE. I know > that I need to compile with llvm-config to get all of the proper build > settings. My question is how do I incorporate llvm-config into my > XCode project settings? I would
2009 Sep 15
2
[LLVMdev] LLVM Beginner Question
Hello, I am just getting started with LLVM and am having some build issues. I am running Snow Leopard and like to use XCode as my IDE. I know that I need to compile with llvm-config to get all of the proper build settings. My question is how do I incorporate llvm-config into my XCode project settings? I would prefer to not have to use the command line to build. Thanks, Graham
2008 Sep 15
2
Can't get script/server (or any script to work) in beginning ROR installation
I have been following the instructions found in Apple''s Developer Guide to developing ROR with Leopard found here: http://developer.apple.com/tools/developonrailsleopard.html I''ve gotten to the point where I''m supposed to execute "script/ server" (specifically, from the XCode run menu, but I get the same error doing it from the console)...the result should be
2008 Sep 02
14
SQL 3 Lite Error
Hello everyone, In my controller, I put the following code: render :text => "Hello World!" It popped up with this error: " MissingSourceFile in BlogController#index no such file to load -- sqlite3 RAILS_ROOT: C:/InstantRails/rails_apps/scblog Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2008 Feb 27
7
older version of rails -- Unknown action error
Hi, I''m using Rails 1.2.3 (constraint of the hosting company). I''m getting this error Unknown action No action responded to subscriber upon visiting http://mydomain.com/super_admin/subscriber/search I have these files: app/controllers/super_admin_controller.rb app/controllers/super_admin/subscriber_controller.rb app/views/super_admin/subscriber/search.rhtml and below is my
2009 Sep 15
0
[LLVMdev] LLVM Beginner Question
Ray Fix <rayfix.ml at gmail.com> writes: >> Generate the XCode project with cmake. See >> >> http://www.llvm.org/docs/CMake.html [snip] > PPS: Someone should add the -G Xcode (and possibly other example > targets to) example to the CMake.html doc. The document explains how to list the available generators. It mentions that generator's names are
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All, I’ve got a few versions or Rails installed and I''d like to run an App I’m developing with various versions of Rails. I heard of two ways to switch the version of Rails that an app uses: 1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/ . But that requires using Bash in a Command Window and more steps than I want to go through. 2. Alter
2009 Apr 21
12
still cannot install rails on windows
if i follow the instructions on: http://agilo.us/2009/03/15/rails-on-windows/ the command gem install sqlite3-ruby will give --------------------------------- Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb checking for fdatasync() in rt.lib... no checking for
2008 Apr 16
8
Will acts_as_taggable_on_steroids and better_nested_set work together?
I am having this crazy problem where it ONLY shows up in testing. This is my test code <code> def test_should_destroy task1 = Task.new(:description => "tmp", :done => false, :user => User.find_by_login(''admin'')) assert task1.save assert task1.destroy end </code> This is my task model
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
Hi, I have a couple of daemons that im trying to setup to be run for my app. The environment load is as follows.. ENV["RAILS_ENV"] ||= "development" require File.join(File.dirname(__FILE__), "/../../config/environment") And the error I get is #<LoadError: no such file to load -- active_support> #<Gem::Exception: can''t activate activesupport (=
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2009 Mar 25
11
ActiveRecord: Nested :include erroneous behavior
Hi, Found a simple example breaking on moving to 2.2 from 2.0. This example illustrates the usage of nested :include finder options. class Book < ActiveRecord::Base has_many :distributors end class Distributor < ActiveRecord::Base belongs_to :book has_many :agents end class Agent < ActiveRecord::Base belongs_to :distributor has_many :shops end class Shop <
2008 Oct 08
11
Using image_tag and send_data
I am using image_tag to load an image that I''ve saved to the database (using attachment_fu if you''re curious but that''s probably not relevant here): VIEW <%= image_tag ''/photo/get_image/5'' %> CONTROLLER def get_image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type =>
2009 Dec 22
16
Will paginate is missing on rake db:migrate
I have a very annoying problem, when doing rake db:migrate, I get the error message: Missing these required gems: will_paginate ~> 2.3.11 But the gem is not missing, It runs very well in my app. To make the rake pass I have to comment out the gem in my environment.rb file. environment.rb: config.gem "will_paginate", :version => "~> 2.3.11", :source =>
2008 Nov 24
5
Problems installing mysql gem in Rails 2.2.2
Hi'' Rails riders. I having upgraded everything and upgraded to Rails 2.2.2 I now wanted to install the MySQL gem as I am getting the following error when trying to load up the app. no such file to load -- mysql Normally running gem install mysql works with no problems but, now I get the following: >gem install mysql gem install mysql Successfully installed mysql-2.7.3-x86-mswin32 1
2009 Apr 07
12
Problem with MYSQL after re-installing rails
Hey all- Re-installed OSX yesterday and with it, Ruby and Rails Now when I try to run db:migrate I get the error message: "!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. Rake aborted! no such file to load -- mysql" So, I try sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql And get: