similar to: load_missing_constant

Displaying 20 results from an estimated 500 matches similar to: "load_missing_constant"

2012 Nov 02
1
[Rails 3.2.8] issue in regex scan
running a scan in irb is fine : 1.9.3p194 :001 > request_url = "http://lvh.me::3000/en/backoffice/cms-admin/site/6/pages" => "http://lvh.me::3000/en/backoffice/cms-admin/site/6/pages" request_url.scan(/^([\S]+)(backoffice\/cms-admin\/site\/)(\d+)(\/pages)$/)[0][2] => "6" however running it in my controller doesn''t gives any result : (rdb:1)
2012 Nov 29
2
[Rails 3.2] form_tag w :remote => true doesn't fire up the js format
I have a form_tag written like this : = form_tag search_backoffice_places_path, {:remote =>"true", :id => :searchplaceForm } do .. input fields = submit_tag t(:search) generated html is correct : <form accept-charset="UTF-8" action="/en/backoffice/places/search" data-remote="true" id="searchplaceForm" method="post"> ...
2012 Mar 26
3
render :json not sending any data back ...
[rails 3.2.2] I perform an ajax call : ... $.ajax url: " /backoffice/expenses/rate" type: "GET" dataType: "json" data: project_id: $(''#project_id'').val() code: $(this).val() success: (result) -> alert result $(''#expense_price'').val(result) in
2012 Nov 27
1
controller not rendering existing js.erb file
In my PlaceController, I have a search method, called remotely from a form the method is executed, but rendering is not executed as the template is stated as missing .. but it''s there ... post :search, :locale => I18n.locale, :format => :js, :country => "United" Error: test_should_search_places(Backoffice::PlacesControllerTest) ActionView::MissingTemplate:
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the same DB. The backoffice, as usual, changes data. The frontoffice has a search capabilities with acts_as_ferret (paginated) for search. Maybe this is a newbie question but, when i delete index and restart front app all the articles are indexed, but the new one''s (via backoffice) are not searchable. Does
2006 Jun 12
3
New "made with Rails" web site
Hello, I''m very pleased to announce you a new "Made with Rails" website : http://www.pierre-farel.com Even if the site is running RoR the online shop is still using PHP and the whole backoffice (shop+site) have been rewriten with RoR I''m using Apache 2 + Fastcgi and for the moment everything seems to go fine !! Thanks for all the helpfull people here !! -- Posted
2005 Sep 08
3
can't update msaccess mdb file
At an account running 3.0.14a Debian (same account as the dual log file issue posted earlier). A user sporadically cannot update an Access mdb file and gets access denied errors. The log: [2005/09/08 12:14:31, 2] smbd/open.c:open_file(245) ginny opened file database/EACM & ECC Reports Secure.ldb read=Yes write=Yes (numopen=4) [2005/09/08 12:14:36, 2] smbd/open.c:open_file(245) ginny
2008 Apr 13
20
uninitialized constant
Hi guys, I''m part way through a RoR application, for some reason whenever I add new controllers (using scaffold) I get an uninitialized constant [name of controller] error. The first few controllers work fine, the only thing I can see that I''ve changed is the layout file (but scaffold creates a new layout for each controller so can''t see that being the problem). You
2019 Feb 14
3
32 seconds vs 72 minutes -- expected performance difference?
Saurabh Nanda <saurabhnanda at gmail.com> writes: > I found something interesting in /proc/fs/cifs/Stats. Notice the > "QueryDirectories > Failed" number. This keeps increasing as along as `ls > -lR` is running. That's interesting indeed. The verbose logs and network trace would tell us more. -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97
2012 Jul 12
1
engines: accessing classes from the hosting-apps lib
I have an engine and can access model-classes of the hosting app without any troubles. But when I try to access classes that are defined in the lib-directory of the hosting app, they are not found and I get a uninitialized constant Redmine where Redmine is a module defined in the lib-directory of the hosting app. The lib-directory has added this dir to the autoload_paths, but the engine
2006 Aug 10
6
Migrations suddenly broken: undefined method autoload_paths
I really need some help here because I am at a loss. I have been using migrations just fine now for a while and I suddenly started getting a very bizarre error when migrations are run: undefined method `autoload_paths='' for Dependencies:Module I have tried rolling back my application code, and rolling back the rails edge revision I am running but neither seem to help. I have
2019 Feb 15
0
32 seconds vs 72 minutes -- expected performance difference?
> > That's interesting indeed. The verbose logs and network trace would tell > us more. > I've enabled verbose/debug logging on the client side. Here are a few operations from the log, and my observations on them: 1) Why is the log saying `SMB2` everywhere? Shouldn't it be saying `SMB3`? 2) Is this normal -- fs/cifs/smb2misc.c: Calculated size 157 length 156 mismatch mid
2011 Feb 04
6
A plugin inside an engine
In Rails 3, is it possible to have a plugin inside an engine? Adding the lib dir of the plugin to autoload_paths doesn''t seem to work. I can manage to load it by adding that path to $: and requiring the init.rb file, but I''m not sure that''s the correct approach. Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2003 Jul 16
1
Replace NT4 PDC
I have an NT4 PDC that I would like to replace with a Samba server. My network also has a box running MS Exchange and Backoffice (not the same box as the PDC). What's the general roadmap for doing this? Could I install Samba as a BDC and then promote it. Should I create a new domain on Samba and do a big cutover? Or is there a way to just get the necessary info off the PDC and then
2012 Jun 07
3
Couldn't reload a module when it's changed. Tried :require_dependency, :watchable_dirs, :unloadable
I''m completely messed with module reloading in development mode. I have to restart app server each time I edit lib/z/nginx.rb which is included in app/models/user_case.rb app/models/user_case.rb require_dependency ''z/nginx'' class UserCase < ActiveRecord::Base include Z::Nginx unloadable I added to environment.rb
2012 Apr 07
3
Is require_dependency supposed to be a public API?
If so, shouldn''t it be documented in the Rails API? Or is there a better way to allow class reloading of my files under lib. I mean, I know about config.autoload_paths, but I want to be explicit about my requires. I just want to be able to reload then on each request when I''m working on them. require_dependency seems to do just that but I''m worried since it is not
2005 Jul 12
0
nmbd registering itself als DMB is not working
Hello everybody, i'm just setting up a samba server as pdc with ldap backend. everything but netbios works fine. The system is called aadmt00 and is a pdc (virtual) and is bound to the ip 192.168.53.180 hgest3201:~ # ip addr list 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255
2007 Oct 22
1
View spec response has no content?
I have been messing with this all night, and can''t figure out what''s going wrong here. I have a test that renders the view, and then a shared behavior checks "response" for the various tags from a rails layout. The problem is matching. If I run in the browser the page renders fine. Is there a way to output what the response contains? Here are my tests: describe
2013 Apr 15
0
mounting engine in namespace
I am testing an engine which normally is mounted at / NotifyMe::Application.routes.draw do > mount_opro_oauth :controllers => {:oauth_client_apps => > ''oauth/client_apps''} I am trying to mount it inside my existing backoffice namespace, is it possible or not advisable namespace :backoffice do > match ''/'', to:
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: