similar to: route error with controllers in a module, should just work

Displaying 20 results from an estimated 1000 matches similar to: "route error with controllers in a module, should just work"

2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks, My page displays links for ''categories'' using the link_to_remote() function. Clicking on one of these links goes to the controller and returns any child categories. I''m finding that the page works ok but after a number of clicks (average 5 or so), it crashes with an error: ============================================== Processing Base#index (for
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i checked out the files and placed them in the vendor/plugins directory). When I try to search I get the following error: uninitialized constant BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Aug 03
1
Ruby install - actionpack dependency?
I''m new to Ruby, so new in fact that I''m having problems with the install. The homepage looks good, but the instructions don''t seem to work for me. I''m trying this on Windows 2003 server. I''ve downloaded Ruby and installed it, fine. I''ve downloaded RubyGems and installed it, fine. The next step is to run ''gem install rails
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m trying to start a project of my own, follow the same instructions but the difference is I created the database myself. After I create the scaffolds and try them out I get this error NameError in CustomersController#index uninitialized constant Customer RAILS_ROOT: ./script/../config/.. Application Trace |
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
Hello, I am new to rails but have been having fun so far. Until now. I am sure this is just my inexperience but I have the RMagick gem (ruby gem for using imagemagick manipulation) installed on my machine that I would like to then use in my rails app. I first installed it and tried it out, and it didnt do anything for me, took me a while to realize I needed the windows RUBYOPT
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook up a database. "undefined method `model'' for ZingerController:Class" is the message I get from the server. I imagine I''ve left something out that is keeping me from connecting to the database, but I''m not exactly sure what. Your help is appreciated. bests, -rsr- session dump:
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends, I am brand new to RoR.Kindly help me with the following problem. Following are the steps i have done. 1) C:/> rails appone 2) C:/> cd appone 3) C:/appone> cd script 4) C:/appone/script> ruby generate controller appone index 5) Edited C:/appone/app/controllers/appone_controller.rb class ApponeController < ApplicationController def index time = Time.now
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi, I''m trying to install and use activewebservice on Rails 2.0.2(using instantrails) the gem install activewebservice finished succesfully. walked through the steps listed at: http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/ when I try to start mongrel I get the following trace ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
Hello, Im using the following amazon web service API for S3 : http://amazon.rubyforge.org/ The problem is that after I establish a connection using establish_connection!, and try using the "store" command, I keep getting the following error. However, if I reboot my webrick server, it works fine for about one hour and then starts throwing this error: Errno::EINVAL in
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
Im trying to write a controller spec, but when I run it I get an error like the one below. I found Bug6707 (http://rubyforge.org/pipermail/rspec-devel/2007-March/002147.html ), but I get the error no matter how I run the spec ( whether I use rake or not) Any ideas? I am using 0.8.2 The Error: C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati ons/sugar.rb:14:in
2007 Jun 02
2
Unit tests breaks with sqlite
Hi, I''m using an sqlite3 database with Rails and have some trouble running unit tests What I''ve done is * rails my_app * edited database.yml to use sqlite3 adapter, db/my_app_development and db/my_app_test * ruby script\generate model user * edited model class User < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name end *
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 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive. everyhting seems to be ok apart from the deploy action which fails saying that there is "No such file or directory" I''ve included the full error listing below. The SVN definately exists because we''re using for development. Does any one have any ideas what might be going wrong? Thanks Tom
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
2007 Feb 20
1
error message for record not found ?
I''m using backgroundrb for session management and deletion of visitor-entered information when a session is abandoned. The visitor can either click a button to end their session and remove their data, or backgroundrb will do it for them after 5 minutes of inactivity. Everything''s working fine, I think. If the visitor explicitly logs out, then when the worker checks for their
2006 Jun 12
1
Instant Rails and your own applications
?I like your form css at http://www.pllite.com/projects/new Nice stuff! Stuart -----Original Message----- From: ian.connor at gmail.com Sent: Monday, June 12, 2006 3:14 AM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Instant Rails and your own applications Here is the download link for the Instant Rails version of ProjectLounge Lite.
2006 Sep 07
6
Template "specialisation"
I want to use a sitewide default template and use a specific version in some controllers to have a good DRY approach to my layout. Those controllers should add a little bit more HTML before rendering the results of the actions, in order to avoid copying the entire sitelayout every time. How can I do that? Currently my code is like this: class WelcomeController < ApplicationController
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
2007 Mar 15
1
Getting the stack trace
Hi all, I am using the following code to print the exception, but is there a way to get the stack trace of the complete error like Exception: No option with text of Contract form in this select element C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in `select_item_in_select_list''