similar to: Unable to get past Tutorial 1 in RubyOnRails

Displaying 20 results from an estimated 10000 matches similar to: "Unable to get past Tutorial 1 in RubyOnRails"

2006 May 09
6
Still Stumbled on First things in trying RubyOnRails
Still Stumbled on First things in trying RubyOnRails http://www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html http://instantrails.rubyforge.org/tutorial/index.html http://rails.homelinux.org/ I had tried the first of the top 12 tutorials and got stuck after adding a new field ?category_id?in the table recipes,
2006 May 07
6
RuntimeError in Recipe#edit
I have tried to learn ruby on rails from scratch by going into a tutorial at the following website. http://instantrails.rubyforge.org/tutorial/index.html I followed the suggestions and encountered 3 problems so far. 1. Couldn''t start the Apache server. Error message "Port 80 was used by some other process." I over-came the problem by going into configuration and change the
2006 May 15
2
Error creating controllers in InstantRails-1.3a
Hi, I was able to successfully Install InstantRails-1.3a and run cookbook throgh Apache and WEBrick , however when I try to create my own app. cookbook2 following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html) , it gives me below error whle creating MyTest controller Cannot find gem for Rails =1.1.2: Install the missing gem with ''gem install -v=1.1.2
2007 Feb 04
4
problems with tutorial
I''m having some trouble with the instructions at the link below: http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html I had started at the tutorial at http://instantrails.rubyforge.org/ tutorial/index.html and had gotten as far as creating the cookbook2 exercise and had gotten to the "Welcome aboard you''re riding ruby rails" screen in explorer, but
2006 Apr 11
4
cookbook2
I am a new user to RoR/ I have been working on RoR cookbook2 tutorial which could be found at http://instantrails.rubyforge.org/tutorial/index.html. As I have been going through different stages through trial and error, but now a stage has come that i m stuck and not able to proceed any further. when it comes to create a list.rhtml in recipe folder under views, and editing the code which is
2006 Mar 22
2
n00b question
Total Ruby N00b here with a question about the Hibbs OnLamp tutorial. I''m trying to hook up to my cookbook database and I''m getting: ActiveRecord::StatementInvalid in Recipe#index Mysql::Error: #42S02Table ''cookbook.recipes'' doesn''t exist: SELECT COUNT(*) FROM recipes RAILS_ROOT: ./script/../config/.. My thoughts: I think I''m not actually
2006 Mar 30
2
help : No database specified. Missing argument: database.
Hi, I''m new to Ruby programming. I''m wnt thru the example by curt in onlamp and was stuck up in the midst of configuration. I''m getting the "No database specified. Missing argument: database." error when i tried creating a table recipe in cookbook db . My database.yml contains the following entries Development: adapter:mysql host:127.0.0.1
2005 Sep 25
7
(newbie) Missing Template Error using Rolling With Rails Tutorials
Hi all, New to the list, Ruby, & RoR. I''ve been going through the Rolling With Rails tutorial, but am getting the following error when the instructions tell you to add the @recipes = Recipe.find_all line to the RecipeController: Template is missing Missing template ./script/../config/..//app/views//recipe/index.rhtml The index.rhtml file is right where it''s supposed to
2006 Jan 19
6
One Last Question for me..
And then I should be ready to roll with my project.. I have some fine tuning of the looks to do after, but funtionality first! This is probably a rails question.. but I''m not sure where to sign up for the rails questions email group? (I guess I turned this into a 2 question email). I''ll ask here and then if someone will send me the url of where I go to sign up for the rails
2007 Mar 18
8
no route found to match "/cookbook/recipe/list" with {:method=>:get}
Hi, I ve just spent about three hours trying to figure this out, so any help would be appreciated. I ve followed these steps: 1. Downloaded Instant Rails 2. Unzipped it 3. Ran "InstantRails.exe" to configure it. (path is c:\InstantRails) 4. Went to the "Manage Rails Applications" area and chose "cookbook" app. 5. Clicked on "Start with Mongrel" 6. Mongrel
2006 Mar 23
6
easy scaffold question(s)
I''m doing very well with the Hibbs Rolling on Rails tutorial. I have an easy question for my personal notes. I''m coming up with a simple framework of steps for creating a basic database. It includes the following maxims to make original app creation easy: app_name = MySQL database name SQL_tablename = model_name model_name = controller-name Is this going to work for getting
2007 May 24
4
Create a virtual host using Instant Rails 1.7
Hi, I created a new rails application called demo using Instant Rails 1.7. It runs at the URL http://localhost:3003/blog/ The applications that a packaged with the zip file, cookbook and typo are currenlty the two virtual hosts. I can already run them using the following URLs http://www.mycookbook.com and http://typo/ Now, I want to add my application demo as the third virtual host in
2006 Mar 03
13
Listing help
Hi, I''ve created a Rails application and am having a problem listing by a particular category in an associated table. I followed the instructions found at the O''Reilly tutorial (http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html?page=3) but have not had success. Can anyone please outline a better set of instructions than in the "Showing Recipes in a
2008 Jan 11
0
Failure to load "openssl.bundle" (RuntimeError) - need help
I''m new to Ruby on Rails and am using the stack provided in Leopard. I''m trying to generate scaffolding for a basic app, and I''m receiving the following error message: ember:~ trey$ ruby ~/Sites/cookbook2/script/generate scaffold recipe recipe /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb: 159:in `require_frameworks'': Failed to load
2005 Mar 28
2
using login_generator and the Cookbook tutorial
Hi All, I''ve been fooling around with the login_generator and the rolling with ruby on rails demo, but I''m jiggered if I can get the two to work together. I''ve managed to get everything installed ok, and have created the db and tables, etc. I''ve been using ruby script\generate login Recipe, and I can either the get the basic tutorial to work, or get the
2006 May 21
2
MySQL-Front question
I''ve been going through the tutorial here: http://instantrails.rubyforge.org/tutorial/index.html About a third of the way down, right under figure 23 there''s a section on ''Adding Recipe Fields''. I just completed creating a recipes table and the Primary Index and auto_incrementing id have been made. The thing that''s baffling me, is that my results are
2004 Jan 12
1
extract data from a data.frame
Hi, I'm reading part of a table from postgres, so I'm getting a data frame. how can I extract the numerica values so I can operate on them. > res <- dbGetResult(mydata) > str(res) `data.frame': 5 obs. of 8 variables: $ cyx.1: num 0.149 -0.278 0.114 0.060 0.109 $ cyx.2: num 0.158 -0.070 0.063 0.149 0.150 $ cyx.3: num 0.052 -0.350 0.114 0.126 0.238
2006 Jan 02
19
AR: How to store and restore in YML.
Hello- I have a database with entries that are segmented by customers. I would like to be able to store / delete / restore a particular customer''s information. I will need to rebuild the rows on restore and also rebuild the associations for the different tables. For example, customer { id name } companies { id customer_id (belongs_to) name } contacts { id
2007 Sep 27
5
New R website: R-Cookbook.com
R Community, I've put together a website that I thought this mailing list might be interested in: http://www.r-cookbook.com It's a (free) community-driven content management system for R "recipes", or working examples. Some of the features of the site are code highlighting, recipe ratings, recipe comments, personal "recipe boxes" to save your favorite
2005 Oct 12
7
www.mycookbook.com not working - just shows apache page
Curt, This is really, really cool.... On hiccup for me though. All was well until I went to manage the cookbook application. The Start SCGI command gave the following output: D:\INSTAN~1\rails_apps\cookbook>..\..\ruby\bin\ruby.exe script\scgi_rails start -p 9999 -e production -D ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. Listening for connections on