similar to: Still Stumbled on First things in trying RubyOnRails

Displaying 20 results from an estimated 10000 matches similar to: "Still Stumbled on First things in trying RubyOnRails"

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 May 07
6
Unable to get past Tutorial 1 in RubyOnRails
Unable to get past Tutorial 1 in RubyOnRails On 29 April 2006 I met some one in a Microsoft sponsored developers? community gahering. I was told that ruby on rails is a free software, easy to use, and in no time will have my mind blown with all the wonderful prospects and possibilities. After almost a week, I am still unable to get past tutorial 1 and still unable to make any tutorials work
2010 Aug 24
11
will_paginate problem
Hi I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14 I have table name books. I am doing this code for pagination, In book_controller @@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@ & in index.html.erb @@@@@<%= will_paginate @books %>@@@@@ Also added in environment.rb file this line @@@@@ require
2006 Mar 12
2
InstantRails works with WEBrick, fails with SCGI
I have an app that I''ve been developing for some time with RADRails and WEBrick locally. I wanted to take it to Apache and following the following steps: 1) Downloaded and extracted InstantRails. 2) Started and tested cookbook with SCGI. Works great. 3) Copied my app over to rails_apps directory. 4) Added a virtual host to Apache identical to cookbook (just using port 9999 with
2006 Mar 29
11
why belongs_to does not like validation?
This works : class Recipe < ActiveRecord::Base belongs_to :category end But (when I add validation) this does not work : class Recipe < ActiveRecord::Base belongs_to :category validates_length_of :category, :within => 6..20 validates_uniqueness_of :category, :message => "already exists" end thank you -- View this message in context:
2006 Aug 09
3
Need help with backgroundrb''s concepts and installation
Hello backgroundrb-devel my name is Teeranit Ruangdet. I''m fairly new to Ruby on Rails so please bear with me here. I''m currently on a project where I need to import a whole bunch of records from spreadsheet(.csv) and save them in the database. My problem is that while I''m importing (huge file...say 5000 employees), no one else can access the website (it basically block
2006 May 21
8
Rails and Postgres
Hi, I''m new to Ruby on Rails and am having a little difficulty working through the ''Rolling with Ruby on Rails'' tutorial. Can anyone help? I''m trying to get the cookbook application to work via a Postgresql db. But get the following error when trying to access http://127.0.0.1:3000/recipe/new Errno::EINVAL in RecipeController#new Invalid argument
2008 May 09
2
Getting an error when trying to create a new application..
I''m new to Ruby/Ruby on Rails. I''m trying to create an application and am getting this error: C:\InstantRails\rails_apps>rails demo C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in `report_activate_ error'': RubyGem version error: activesupport(2.0.2 not = 2.0.2.9216) (Gem::LoadE rror) from
2006 Jan 06
3
Cookbook recipes eg - ordering categories in the recipe pull-down box
People, I can order categories when looking at the categories list page but how do I change the recipe page to list the categories in alpha order in the recipe pull-down box?: > <p><b>Category:</b><br> > <select name="recipe[category_id]"> > <% @categories.each do |category| %> > <option value="<%= category.id
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting to experiment with the Login and active RBAC engines but having trouble getting them to install. I''ve checked the following but can''t find any info on how to get it to work. http://rails-engines.org/wiki/pages/Engines+plugin I''ve also tried the following:
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
2008 Jan 15
2
Installing Ruby on Rails - missing the "Components" folder.
Hi, I''m trying to get up and running on rails. I''m on Vista 32 and have installed instant rails on C:\InstantRails from: http://instantrails.rubyforge.org/wiki/wiki.pl I''ve done the "gem update --system" and "gem install rails --include- dependencies" When I run the "rails music_library" command from rails_apps directory I get the default
2006 Jun 08
1
Test errors
I''m working on learning user auth and ran a test/unit/test.rb and seem to have stumbled across some errors. This is from a tutorial on the web and I pretty much copied the code and checked syntax so not sure where it''s wrong. I thought I''d throw it out since I"m new to ROR and the error didn''t look too bad ;), perhaps someone would have a better
2005 Oct 15
1
Base directory for apps
Is there any way to specify a root project directory other than the default ''rails_apps'' subdirectory? We have a few Rails projects on different drives that cannot be moved. We''re using Windows, so symlinks are out of the question. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 May 05
4
Rails Installation Fails - InstantRails 1.3a
I downloaded InstantRails 1.3a, and unzipped it to c:\InstantRails I then ran gem install rails --include-dependencies in the Ruby Console Window A lot of it worked, but I saw these errors (with a bit of surrounding output) Installing RDoc documentation for activerecord-1.15.3... Installing RDoc documentation for actionpack-1.13.3... lib/action_controller/routing.rb:1061:30:
2006 Jun 18
6
integer array columns
Postgres database. I have a categories table, with two columns id, and name. I have a recipes table, with a category_ids column. I want each recipe to belong to one or more category. in recipe_controller.rb I have this: def create @recipe = Recipe.new( @params[''recipe''] ) @recipe.category_ids = @params[''recipe''][''category_ids''].map{
2006 Jul 14
2
browser connection issue to http://localhost:3000/ on XP ?
http://www.ruby-forum.com/topic/73035#new Hi, I think I have network issue on my XP PC here trying to run up InstantRails and using it. I create an application and run up the server "ruby scripts/server" and it runs up, but then when I try to browse to it the browser just sits and spins and doesn''t connect :( Note that I posted this at
2007 Jan 31
2
SystemStackError: stack level too deep
I''m testing the http module in console. BUt I got the following error. Anyone knows why? >> Net::HTTP.get_print ''www.google.com'', ''index.html'' SystemStackError: stack level too deep from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in `newobj'' from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in