[Rails] NameError (uninitialized constant Blacklight::Solr::Document::Marc Did you mean? Blacklight::Marc):

2019-12-18 Thread KEVIN WAMUNYIMA
keep running into this error when i run my rails server... any ideas -- _ _ _CONFIDENTIAL NOTICE: This message (and its attachments) may contain confidential information. Any unauthorized use or disclosure is prohibited. If you have received this communication in error, please notify us

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
Rails.application.routes.draw do get 'welcome/index' resources :feedbacks, only: [:post] On Monday, June 25, 2018 at 3:42:32 PM UTC-5, Stephanie_Snowflake wrote: > > $rails routes > > WARNING: Nokogiri was built against LibXML version 2.9.4, but has > dynamically loaded 2.8.0 > ** Invoke

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
$rails routes WARNING: Nokogiri was built against LibXML version 2.9.4, but has dynamically loaded 2.8.0 ** Invoke routes (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute routes Prefix Verb URI Pattern

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Hassan Schroeder
On Mon, Jun 25, 2018 at 1:34 PM, Stephanie_Snowflake wrote: > undefined local variable or method `login_url' for > # So does 'login' show up when you run `rake routes`? How are you authenticating? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
ERROR localhost:3000/welcome/index NameError in WelcomeController#index undefined local variable or method `login_url' for # Extracted source (around line *#47*): 45 46 47 48 49 50 def deny_access session[:forward_to] = request.fullpath redirect_to login_url end

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Hassan Schroeder
On Mon, Jun 25, 2018 at 1:24 PM, Stephanie_Snowflake wrote: > Yes ran locally with the original versions of everything. Yes all the test > passed. > > Currently the only error is on the Welcome Controller. > > No errors in the console If there's a problem I'd expect it in the console or in the

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
Yes ran locally with the original versions of everything. Yes all the test passed. Currently the only error is on the Welcome Controller. No errors in the console On Monday, June 25, 2018 at 3:18:05 PM UTC-5, Hassan Schroeder wrote: > > On Mon, Jun 25, 2018 at 1:12 PM, Stephanie_Snowflake >

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Hassan Schroeder
On Mon, Jun 25, 2018 at 1:12 PM, Stephanie_Snowflake wrote: > Yes the original version ran fine. No errors. Just had to updated rails, > ruby, gems, etc since the app is still running on the original version, and > the platform asked us to update several things. That answered *1* question... >>

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Colin Law
On 25 June 2018 at 21:12, Stephanie_Snowflake wrote: > Yes the original version ran fine. No errors. Just had to updated rails, > ruby, gems, etc since the app is still running on the original version, and > the platform asked us to update several things. You have answered question 1 but not 2,

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
Yes the original version ran fine. No errors. Just had to updated rails, ruby, gems, etc since the app is still running on the original version, and the platform asked us to update several things. On Monday, June 25, 2018 at 3:06:43 PM UTC-5, Hassan Schroeder wrote: > > On Mon, Jun 25, 2018 at

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Hassan Schroeder
On Mon, Jun 25, 2018 at 11:59 AM, Stephanie_Snowflake wrote: > The app was designed by a previous developer in 2013. I just received the > files two weeks ago. Having to update everything to latest versions of > everything. I've added the database into the pgAdmin4. > > I need to be able to see

Re: [Rails] NameError in WelcomeController#index

2018-06-25 Thread Walter Lee Davis
What happens when you run the tests in your app? Try these steps: 1. cd into project directory 2. bundle 3. rm db/test.sqlite 4. RAILS_ENV=test rake db:migrate 5. rake If that last step doesn't cause your tests to start running, try replacing that step with bundle exec rspec spec Nota bene:

[Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
Steps to reproduce cd [app directory] rails server open localhost:3000/welcome/index (Guidelines for creating a bug report are available here ) Expected behavior I should be able to see the login

[Rails] NameError in WelcomeController#index

2018-06-25 Thread Stephanie_Snowflake
Steps to reproduce cd [app directory] rails server open localhost:3000/welcome/index (Guidelines for creating a bug report are available here ) Expected behavior I should be able to see the login

[Rails] NameError: undefined local variable or method `itinerary' for main:Object

2015-05-05 Thread Bailey J
I am doing the sample application trips-app based on this slightly deprecated set of instructions https://ruby-geekcampbaguio.herokuapp.com/#2-database-crud I'll tell what worked so far and what has been different. In the instructions it refers to db/migrations but on my version of rails it

Re: [Rails] NameError: undefined local variable or method `itinerary' for main:Object

2015-05-05 Thread Colin Law
On 5 May 2015 at 19:15, Bailey J kidbay...@gmail.com wrote: I am doing the sample application trips-app based on this slightly deprecated set of instructions https://ruby-geekcampbaguio.herokuapp.com/#2-database-crud I'll tell what worked so far and what has been different. In the

[Rails] NameError: uninitialized constant ActiveRecord::FixtureSet::RenderContext::Fixtures

2014-10-18 Thread Colin Law
I hope someone can help me with this one. I have upgraded a simple app from rails 2.3 to 4.1.6 and got the app going with little difficulty. However when I run the tests using rake test, for every test I get NameError: uninitialized constant ActiveRecord::FixtureSet::RenderContext::Fixtures I

[Rails] NameError?

2012-10-18 Thread wragen22
Hi all, I've created an app that has posts with string title and text content. I'm getting the following error when adding this loop. Any idea? NameError in Posts#index Showing */Users/bradwrage/webapps/blog/app/views/posts/index.html.erb* where line *#7* raised: undefined local variable

Re: [Rails] NameError?

2012-10-18 Thread Jordon Bedwell
On Thu, Oct 18, 2012 at 9:38 AM, wragen22 bradwr...@gmail.com wrote: Extracted source (around line #7): 4: 5:% @posts.each do |status| % 6:div class=post 7:strong%= post.title %/strong 8:/div 9: 10: % end % Took me all of

[Rails] Rails NameError : uninitialized constant RelationshipsController

2012-02-20 Thread jp2
I am trying to run a test of my app buy my relationships_controller_spec.rb file won't run. Here's the error I get: Exception encountered: #NameError: uninitialized constant RelationshipsController Here's the code for my relationships_controller_spec.rb file: require 'spec_helper' describe

Re: [Rails] NameError - any pointer on how to track down problem

2010-11-28 Thread Hassan Schroeder
On Fri, Nov 26, 2010 at 3:32 AM, Ewen e...@aecameron.co.uk wrote: I'm trying to put Spree 0.30.1 on Heroku and I'm getting the following error message (from the heroku logs); NameError (undefined local variable or method 'auth_user' for #ProductsController:0x2b4ee9fb07f8): 1. Does your app

[Rails] NameError - any pointer on how to track down problem

2010-11-26 Thread Ewen
I'm trying to put Spree 0.30.1 on Heroku and I'm getting the following error message (from the heroku logs); NameError (undefined local variable or method 'auth_user' for #ProductsController:0x2b4ee9fb07f8): I've tried Google and the Spree Google Group but I'm no nearer to an answer. Can anyone

[Rails] NameError in Devise/sessionsController#new

2010-11-23 Thread NazarHussain
I created a sample application. Added devise in it, it works fine. Then added cancan gem into it. Created an ability class. define some permissions. Then added line load_and_authorize_resource to the Application Controller, after that when i go to the page http://0.0.0.0:3000/users/sign_in it

[Rails] NameError: uninitialized constant Dispatch

2010-09-21 Thread Abder-Rahman Ali
In the Rails Way book, following an example, I came to a point where I had to run: Dispatch.dispatch But, I get the following: irb(main):003:0 Dispatch.dispatch NameError: uninitialized constant Dispatch from (irb):3 I want to mention that I'm using Rails 3.0.0, and the book seems to

[Rails] NameError: uninitialized constant Vimeo

2010-09-07 Thread Rafael Dalprá
Hello, I installed a gem to make a new function in system, the gem is: Vimeo. (http://github.com/matthooks/vimeo) I'm using bundler to install gem s and make them up to date. When I run bundle check, it says that everything is OK. When I run: gem install vimeo, it goes all fine too. The

Re: [Rails] NameError: uninitialized constant Vimeo

2010-09-07 Thread radhames brito
is that rails 3? if is rails 2, did you remember to put it in you environment file? config.gem vimeo, if is rails 3 are you sure the gem support ruby 1.9.2 and rails 3? On Tue, Sep 7, 2010 at 10:36 AM, Rafael Dalprá li...@ruby-forum.com wrote: Hello, I installed a gem to make a new function

Re: [Rails] NameError in CompetitorsController#index

2010-05-18 Thread Colin Law
On 15 May 2010 08:28, Manish Nautiyal li...@ruby-forum.com wrote: Hi all I am getting this problem when I run this code in server. In my localhost everything is running fine. But when I deploy my code in the server it shows me the error. I am using FERRET SERARCH IN MODEL. NameError in

[Rails] NameError in CompetitorsController#index

2010-05-15 Thread Manish Nautiyal
Hi all I am getting this problem when I run this code in server. In my localhost everything is running fine. But when I deploy my code in the server it shows me the error. I am using FERRET SERARCH IN MODEL. NameError in CompetitorsController#index uninitialized constant

[Rails] NameError when using acts_as_ferret

2010-05-15 Thread Manish Nautiyal
Hi all I am getting this error when I am using acts_as_ferret :fields =[:competitor], :remote = true NameError in PartController#index uninitialized constant PartController::Competitor My Model class Competitor ActiveRecord::Base validates_presence_of

Re: [Rails] NameError in CompetitorsController#index

2010-05-15 Thread Hassan Schroeder
On Sat, May 15, 2010 at 12:28 AM, Manish Nautiyal li...@ruby-forum.com wrote: I am getting this problem when I run this code in server. In my localhost everything is running fine. But when I deploy my code in the server it shows me the error.  def index   �...@compet = Competitor.find(:all)

[Rails] NameError - Problems with if-else

2010-04-08 Thread Mark
Hi, i have a problem with if-else. I get this error: uninitialized constant ActionView::Base::CompiledTemplates::Male I want to change the background-color for male and female. So i wrote this code with if and else. I think there is a mistake in line 8. How could this work. What do i have to

[Rails] NameError: undefined local variable or method `testapp' for main:Object

2009-08-31 Thread maddy
Hi, I am new to Ruby on Rails. Recently, I downloaded and installed the InstantRails in the D:\ drive of my system. Now I wanted to try some small examples in 'irb', so I created a file testapp.rb and in that pasted a code like this: class sample_class

[Rails] NameError what is it?

2009-06-08 Thread Steve Dc
I have the following code in app/controllers/processjobs_controller.rb # class ProcessJobsController ApplicationController def index @ProcessJobs = ProcessJobs.find(:all) end end # This is my route file .. ActionController::Routing::Routes.draw do |map| map.resources :ProcessJobs

[Rails] NameError (uninitialized constant FileColumn::Magick::ImageList

2009-05-25 Thread Simon
Hi, I have been using RMagick and File Column in my app together without a problem, but when I tried to add in some new functionality in my model where I use file_column, I got the error in the subject line. The offending line in my code is: image = Magick::ImageList.new(path_to_image) Has

[Rails] NameError: uninitialized constant I18n

2009-01-22 Thread Remco Swoany
Just installed the plugin as described on the link below. http://factore.ca/on-the-floor/11-introducing-has-foreign-language-an-easy-database-internationalization-plugin If i fire up my console and then: I18n.default_locale = en i got the error message: NameError: uninitialized constant I18n

[Rails] NameError: uninitialized constant Inflector

2008-09-19 Thread dschruth
I follwed the example here: http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/ #!/usr/bin/ruby require 'rubygems' require 'active_support/inflector' puts Inflector.singularize('inflections') I loaded it into irb and wrote a killer script both of which worked perfectly for