Displaying 20 results from an estimated 1400 matches similar to: "define the meaning of this error"
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
I am looking for a ruby hosting service.  Can any one recommend one for me.    
-----Original Message-----
From: rails-request@lists.rubyonrails.org [mailto:rails-request@lists.rubyonrails.org] 
Sent: Saturday, May 06, 2006 7:37 AM
To: rails@lists.rubyonrails.org
Subject: Rails Digest, Vol 20, Issue 156
Send Rails mailing list submissions to
	rails@lists.rubyonrails.org
To subscribe or
2007 Jan 19
6
Problem w/ routes.rb
I am trying to develop a new webapp using Rails 1.2.1.  I am installing
it onto a production web server running Apache w/ fastcgi.  The server
already has some older webapps running on it using an older version of
Rails.  The apps are not installed in the document root; they each have
their own subdirectory which is a symlink for the apache document root
to the "public" directory of each
2011 Feb 14
1
Curiosity in my production.log: */*
In my production.log, I usually see lines like this:
Processing by HomeController#index as HTML
But sometimes I see the line like this:
Processing by HomeController#index as */*
At first I thought perhaps those calls were made by a bot, but after
looking at it closer it looks as those they are generated by normal
users. I have no idea, first, how that line could have been generated,
and
2011 Jun 11
7
"Stack level too" deep with @controller.hi
Hi again, sorry for many questions. In mi HomeController, I have the
"hi" method, in this method I use an "if" for show a different message
for a registered user or a guest. When I call in "home/index" my
method "hi", show me this error message:
"Stack level too deep"
class HomeController < ApplicationController
  def hi
    if (current_user)
2012 Apr 19
2
method value passing in rails
in my ruby on rails application, i have one controller 
class HomeController < ApplicationController
def home  
   puts "name.....#{@name}" 
  end
  def branch
      *//HERE  HAVE TO GET THE ABOVE FUNCTION VALUE  @name*   
  end 
end
What am trying to do, i have to get the @name value  in method branch. i 
could show the value in function home, but i didn''t get that in
2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
My application, a very simple general ledger, that worked very well until 
June 26 does not work any longer. It is used under Ubuntu 12.04 and I 
believe there was a Ruby update after that.
What happens?
When I try to start the appIication I get the following output in my web 
browser:
ActionDispatch::Session::SessionRestoreError 
Session contains objects whose class definition isn''t
2012 Aug 28
4
ArgumentError in HomeController#index
Hey guys, I''m new to ruby/rails and trying to sort something...
I just created an app with composer,
http://railsapps.github.com/rails-composer/
I used the command:
rails new myapp -m
https://raw.github.com/RailsApps/rails-composer/master/composer.rb
I set up the rails server, and tried to load the app on localhost:3000
However, I end up with:
ArgumentError in HomeController#index
2010 Jun 21
4
Failing Routes in deployment
I have an app that has the following in the routes file:
  namespace "admin" do
    # ADMINISTRATIVE ROUTES ONLY
    root :to => ''home#index''
    resources :comments do
      member do
        get :approve
        get :reject
      end
    end
    resources :users do
      member do
        get :block
        get :unblock
      end
    end
  end
When browing to
2013 Mar 21
3
Announce: Puppet Dashboard 1.2.23 Available
Puppet Dashboard 1.2.23 is a maintenance release of the 1.2 series of
Puppet Dashboard with bug fixes and minor features.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.23.tar.gz
Available in native package format in the Puppet Labs yum and apt
repositories at:
http://yum.puppetlabs.com and http://apt.puppetlabs.com
Please report
2008 Jul 09
11
script/generate scaffold user
NameError in UsersController#index
uninitialized constant UsersController::User
RAILS_ROOT: C:/RailsApps/rgams
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:492:in
`const_missing''
app/controllers/users_controller.rb:5:in `index''
2010 Aug 21
4
No route matches?
Hi all,
I''m coming from the PHP world and I''m trying to learn Ruby and Rails.
I''m having a problem where I keep getting the error "No route matches /
home/view" even though I have it defined it. I''d appreciate any help
on this. I''m using rails 3.0 and the setting for the environment is
"development".
# routes.rb
2006 May 31
7
Getting 22 elements
Hello,
I''ve done
===
class HomeController < ApplicationController
  def index
    @country = Country.find(:all, :include => "cities")
  end
end
===
And rhtml is:
===
    <% @country.each do |country| %>
    <h1><%= country.name %></h1>
      <% country.cities.each do |city| %>
        - <%= link_to city.name, :action =>
2006 Jun 18
2
Why can''t I use a session? (Symbol as array index)
Hi All
I can''t for the life of me see what is wrong with this. Maybe it''s cause 
it''s midnight...
I want to put some data in a session and I have some code like this:
class ApplicationController < ActionController::Base
  model :mything
  def ApplicationController.chosen_thing
    session[:chosen_thing] ||= MyThing.defaultThing
  end
end
So whenever I try to
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website.   I probably 
get less than 100 hits per hour.  I just looked in /tmp on the server and 
there are over 10,000 ruby_sess.* temp files containing:
"       hash{"
flashIC:''ActionController::Flash::FlashHash{:
@used{
They''ve piled up so much that I can''t even rm -f ruby*.   Bash complains 
2008 Jan 30
1
undefined method `scaffold'
Hello,
I have been busy for a while and now I am back to messing with rails.
Last time I tried to use scaffold i worked now I am getting this error.
Not really sure since I am using version 1.2.5 still
 NoMethodError in BlogController#index
undefined method `scaffold'' for #<BlogController:0x506eb7c>
Session dump
flash: !map:ActionController::Flash::FlashHash {}
Thanks for any
2014 Dec 07
2
GCC/clang compilation issues
> Oliver St?neberg wrote:
> 
> > 
> > > Oliver St?neberg wrote:
> > > 
> > > > I finally got around to trying to update FLAC for the MAME/MESS 
> > > > project again. There were several issues I was able to fix and will 
> > > > submit patches later, but I hit one roadblock with GCC and clang:
> > > > 
> > >
2006 Apr 02
1
One to Many Relationship Issues
Hi,
I am having issues with a one to many relationship(it never works :-)). 
Jokes aside, I am getting an error:
Mysql::Error: #23000Cannot add or update a child row: a foreign key 
constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`, 
`website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'', 
2006 Jul 24
2
Newbie error message!
hello you all,
I''m new with Ruby on Rails.  I''m developing an application.  I got the 
follwoign erro, can anybody give a hand?
ArgumentError in AdminController#import_strings
wrong number of arguments (0 for 1)
RAILS_ROOT: ./script/../config/..
Request
Parameters: {"commit"=>"Import", 
2010 Dec 17
1
flash[;notice] not display after redirection
I read all previous posts about the same subject in Devise group but
couldn''t find any answer, so iy may not be related to Devise , so
I debugged it ..
.
class Users::RegistrationsController <
Devise::RegistrationsController
..
      # POST /resource/sign_up
  def create
    build_resource
    if resource.save
      if resource.active?
        set_flash_message :notice, :signed_up
    
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125.  I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a 
ActiveRecord::ConnectionNotEstablished
error.
Rails 3.2.3 works, 3.1.0 not.  Any ideas?
Just to show you it''s nothing fancy....
Gem file is only:  
source ''https://rubygems.org''
gem