Displaying 20 results from an estimated 300 matches similar to: "`load_missing_constant': uninitialized constant Rails::Gener"
2009 May 12
0
`load_missing_constant': uninitialized constant Rails::Generator (NameError)
Hello,
I''m probably missing something pretty basic here as a rails newbie but
I''m trying to write a plugin and I am trying to get my generator to work.
I am trying to call the manifest method in my
vendor/plugins/media_module/generators/media_module_generator.rb from my
vendor/plugins/media_module/init.rb.
here''s the code in vendor/plugins/media_module/init.rb:
2007 May 24
2
Missing RspecScaffoldGenerator
Just a quick note that I had to make the following change after
installing 1.0.2 as rails plugins to get the resource generator
working:
Index: rspec_scaffold_generator.rb
===================================================================
--- rspec_scaffold_generator.rb (revision 2022)
+++ rspec_scaffold_generator.rb (working copy)
@@ -1,4 +1,4 @@
-class RspecResourceGenerator <
2017 Dec 19
0
How to make sure self-heal backlog is empty ?
Mine also has a list of files that seemingly never heal. They are usually isolated on my arbiter bricks, but not always. I would also like to find an answer for this behavior.
-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Hoggins!
Sent: Tuesday, December 19, 2017 12:26 PM
To: gluster-users <gluster-users at
2017 Dec 19
3
How to make sure self-heal backlog is empty ?
Hello list,
I'm not sure what to look for here, not sure if what I'm seeing is the
actual "backlog" (that we need to make sure is empty while performing a
rolling upgrade before going to the next node), how can I tell, while
reading this, if it's okay to reboot / upgrade my next node in the pool ?
Here is what I do for checking :
for i in `gluster volume list`; do
2005 Apr 20
4
Error in tutorial or sintax changed?
Hi,
In this tutorial
http://wiki.rubyonrails.com/rails/show/HowtoUseJoinsWithFindAll
it sad:
sql =<<SQL
SELECT articles.*, authors.name AS author_name
FROM articles
LEFT JOIN authors ON author_id = authors.id
SQL
and this return
*app/controllers/media_controller.rb:366: can''t find string "SQL"
anywhere before EOF*
what is wrong? the tutorial or ruby changed?
please,
2007 Aug 10
1
downgrading from 1.2.3 to 1.1.2
Hello,
I just did a rails -v and got Rails 1.2.3. I just realized that I
had installed the wrong version of ruby on my local environment.
How easy is it to downgrade to 1.1.2? Are there any big issues I
should consider before doing this?
thanks,
Clem Rock
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2012 Oct 21
1
load_missing_constant
I have a model ''site'' defined in a sub-folder ''cms''
class Cms::Site < ActiveRecord::Base
.....
the model is loaded correctly , checked in console:
application.rb
config.autoload_paths += Dir["#{config.root}/app/models/**/"]
console
>Cms::Site.all => []
Now trying to access this model from a sites_controller ( in
backoffice/cms
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All,
I run
rake gems:install
rake gems:unpack
If i add
configure the rspec-rails gem in config/environment.rb:
config.gem "rspec-rails", :version => ">= 1.3.2"
and then run server. I am getting this error:
/home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am
getting the error like this
load_missing_constant'': uninitialized constant ExceptionNotifier
(NameError)
Please solve it
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Aug 01
1
PaginationHelper load_missing_constant error
I just ran into this error after updating rails and the
rspec_on_rails plugin (both are on edge):
/Users/ben/Work/wizzdl/vendor/rails/activerecord/lib/../../
activesupport/lib/active_support/dependencies.rb:263:in
`load_missing_constant'': uninitialized constant
ActionView::Helpers::PaginationHelper (NameError)
from /Users/ben/Work/wizzdl/vendor/rails/activerecord/
2008 Apr 15
0
Problem with creating custom generator
Hi,
I''m trying to create a new generator class in my .rails/generators
directory. Everything appears to be setup correctly but when I run ruby
script/generate the generator doesn''t appear in the list. I''m running on
Windows XP with Rails 2.0.2. My rails install is working fine (several apps
running locally).
Some details.
* Home directory: C:\Documents and
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there
rails: 2.3.8
machine os: Ubuntu 10.04 Lucid
I''m having some problems with my rails installation in one of my new
development machines.
I have installed all the gems in my config/environment.rb file.
When I now run either script/console or script/server, I have the
error of " `rescue in load_missing_constant'': uninitialized constant
Paperclip::Glue
2008 Nov 05
3
Problems w/ before_filter getting ignored
Hello,
I''m setting up an authentication module that will be called from
application.rb. I want to save a rrequest.request_uri into a
session to be used as a place holder that
will take users back to the page they were on before they logged in.
I''m trying to call the store_location method for all methods EXCEPT
login by putting login in an except before filter.
For some
2012 Jun 07
2
load_missing_constant: Expected to define class in module
Hi I''m having some weird issues with Rails 3 and classes defined in
modules.
To be more precise I''ve created several files that define classes in the
AppBase module like:
module AppBase
class BackendMenu
[content omitted]
end
end
When a page tries to use the BackendMenu class like AppBase::BackendMenu
I get an error saying "Expected backend_menu.rb to define
2007 Aug 24
0
ArgumentError: interning empty string and enum-column plugin
Hello,
I am a developer who has just started working on a large scale
website in a team of 5 other developers. One of the developers has
introduced some enum columns into the the database. Now, by default,
active record doesn''t support enum column types but I have added the
enum-column plugin into our project. This has worked very well except
for a few instances where he
2007 Sep 04
0
Adding this sed command to the deploy script
Hello,
I have a small section of sed code I would like to add to the
deploy.rb script.
The code changes the image paths of our stylesheets
for file in *; do
sed -e ''s/\/images/http:\/\/cache\.reverbnation\.com\/images/g''
"$file" > "${file}.sub"
rm "$file"
mv "${file}.sub" "${file}"
done
I am a newbie at
2004 Aug 06
1
AW: ices0 (version 0.3) - libmp3lame.so problems
wow, you are right!
it tells me:
/usr/lib/libmp3lame.so: broken symbolic link to 'libmp3lame.so.0.0.0'
how can i repair this? install lame again?
-Clem
-----Ursprüngliche Nachricht-----
Von: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org]Im Auftrag
von Carsten Haese
Gesendet: Mittwoch, 4. Februar 2004 15:11
An: icecast@xiph.org
Betreff: Re: [icecast] ices0 (version 0.3) -
2004 Aug 06
0
Problems with Ices & mp3
my icecast server runs and ices also seems to work. but if i want to connect
via winamp to my server i cann't hear anything. the connection seems ok
because there stands [HTTP/1.0 200 OK] if i connect to my server http://
bladomain.bla:8000/ices and in my access.log there also stands the
connection. does somebody know this problem?
here is my ices.xml
<p><ices:Configuration
2011 Apr 20
11
Mac Phusion Passenger Pane not working
I have a feeling that this is something centered around my
apache/Passenger configurations but everything seems to check out.
Another off the hand problem I''m having, and might be a clue is w/ my
Passenger Pane. I installed the Phusion Passenger Pane and every time
I try to add an entry, I get this error:
"Your changes couldn’t be saved
See the Console log for details."
2012 Aug 03
3
all duplicated wanted
Hi,
Has anyone been able to figure out how to print all duplicated observations?
I have a dataset, with patients ID, and other lab records.
Some patients have multiple lab records, but 'duplicated' ID will only show me the duplicates, not the original observation.
How can I print both the original one and the duplicates?
Thanks