similar to: Rails 3.1.3 -> 3.2.3 upgrade, assets can't be found

Displaying 20 results from an estimated 800 matches similar to: "Rails 3.1.3 -> 3.2.3 upgrade, assets can't be found"

2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here read this book or can shed light on the issue? When I run rspec i get following errors rspec spec/features/accounts/sign_up_spec.rb C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in `<top (required)>': undefined me thod `configure' for #<Dummy::Application:0x416fe08>
2014 Mar 10
0
Mongoid : bson namespace error
Hello All, I had been trying to work on Rails 4 and Mongoid gem. The following are the versions I had installed: bson-2.2.1 mongoid-3.1.6 After installing and trying to run "rails generate" command. It is failing with NameSpace error for BSON::ByteBuffer. It is trying to connect to mongodb server initially and getting successful. Post that it is failing with the following
2012 Dec 18
2
cache-busting non-digest assets in sprockets in development a good idea? should headers in sprockets be configurable?
Just monkey patched Sprockets in our Rails 3.2.9 app to override the Cache-Control header for html assets that we need to tweak more often in development, but that we don''t want to use digests/fingerprinting with: # Sprockets 2.x patch if Rails.env.development? module Sprockets module Server private alias_method :sprockets_headers, :headers def headers(env,
2011 Oct 25
0
Sprocket Digest + Debug combination broken?
Hi all, we''re just in the process of upgrading to the new asset pipeline, but I''m having an annoying issue with Sprockets. It turns out that I can''t enable both *debug* and *digest* in development mode. When I do, I get a Errno::ENAMETOOLONG because the digest becomes the *entire* *content* of the file instead of a hex. I get this with both sass and javascript.
2011 Sep 28
3
Error : bundle install
c:proj/proj1> bundle install Fetching source index for http://rubygems.org/ Could not find sprockets-2.0.0.beta.10 in any of the sources C:proj/proj1> C:proj/proj1>gem install sprockets -v=2.0.0.beta.10 ERROR: Could not find a valid gem ''sprockets'' (= 2.0.0.beta.10) in any reposito ry ERROR: Possible alternatives: sprockets C:proj/proj1>gem install sprockets
2006 May 24
1
Observer behavior differences between DEV and TEST environments ?
Hi all ! I''m having an issue and I can''t seem to make heads or tails of it. I am attempting to add an observer to a model object. I created app/models/greenback_transaction_observer.rb, inherited from AR::Observer, defined methods, registered in config/environment.rb, but things don''t work... So, I took a step back and put in the following code: class
2010 Jun 11
2
AR after_initialize quandry
I have a case where I am abstracting the creation of models. After a fair bit of indirection, I eventually get around to making a .new call. I need to be able to pass params to that .new call. I know I can''t use def initialize() in an AR model (rather frustrating). So, I have found some references to after_initialize, but that doesn''t work either. I see several threads on
2012 Jun 26
0
no such file load errors - md5
Dear All , I have a problem with : this error messasge " No Such File Load error - md5 " I can only use with development section.(rails s) I can''t use with production . ( rails s -e production). I use this command, the error message is like this Exiting /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:317:in `rescue in
2006 Oct 27
5
Purpose of after_initialize in ActiveRecord?
All, I have a quick question - is the purpose of implementing after_initialize to allow custom attribute initialization for AR descendants? I have been overriding initialize whenever I require custom setup of my model classes, like so: def initialize(attributes = nil) super self.Status = ''G'' end So I have a couple of questions: 1) Could I achieve the same
2011 Apr 09
1
Problem with "open_id_authentication" plugin
I just install the plugin. I didn''t do anything first ( should I? ). And try "rails server" And this is what I got (error part): C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require'': no such file to load -- openid (LoadError) from
2011 May 27
3
unable to start server
When i start the server "rails s",following error message appears: => Booting WEBrick => Rails 3.0.7 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in `default_controller_and_action'': missing :controller
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
if i run rails serve i am fa C:\forex>rails server => Booting WEBrick => Rails 3.0.0 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb:17:in `initialize'': wrong number of arguments (0 for 1) (ArgumentError)
2006 Aug 11
1
after_initialize and after_save
Hello, I am still reading Agile Web Developer pdf, it says about after_initialize and after_find. There is a Joe asks part when I read that they are special, however I didn''t really get the idea, why they are. On rubyonrails.org in the manual there is some sort description about their speciality, however their full descriptions are missing. What are the difference between
2007 Jun 16
1
extending activerecord base with after_initialize
hi, i am having problems getting after_initialize for activerecord subclasses. basically, i am trying to use the guid plugin by andy singleton. i am having problems extending the class to the plugins i installed, so i figured i will just apply this to all the models in my project. i trled to add the following to my lib/ folder. my goal is to extended the activerecord class so that it uses
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
Posted on stackoverflow but no traction yet: http://stackoverflow.com/questions/12942505/why-does-using-set-trace-func-work-in-some-places-but-cause-unexpected-return-l The following is a generified part of the code in a gem I''m working on: module SomeModule class << self attr_accessor :procedure def log_events(*args) args.flatten!
2006 Jul 06
2
Custom init. of ActiveRecord objects - best practices
All, I''m wanting to initialize an ActiveRecord object. I understand that there is a method called after_initialize that appears to get called right after the ActiveRecord object is instantiated. Is after_initialize a Ruby thing or a Rails thing? Where is after_initialize documented? Can I pass parameters to it? If so, how? I want to initialize the "belongs_to" attribute of
2012 Feb 20
0
Cannot start rails server: Please install the adapter: `gem install activerecord--adapter`
My app was working sublime ''till this morning when I noticed this strange error when running rails server: $ rails s => Booting WEBrick => Rails 3.2.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
2011 Dec 07
1
Errors when running the local server
Hi all, I''m running an application on my localhost, but the command "rails server" behaves very inconsistently. About an hour ago it ran well on another app, but got errors now. According to the errors it seemed that the server began to run but the there is something missing in the library. But I''m very new to Rails so cannot figure out what do these lines mean:
2013 Apr 13
2
running rails on my linux mint
Hi i cannot start my rails server webrick and i m just start learning rails .. the error i get is: > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 => Booting WEBrick