Displaying 20 results from an estimated 2000 matches similar to: "mounting engine in namespace"
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 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">
...
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
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 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
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
2006 Nov 21
1
MGE Nova 1100 AVR + upssched
Hi, I'm having problems to configure upssched in order to notify me only
when the disconnection exceeds the 30 seconds.
Now, I'm getting a mail if it is disconnected just for a second, or even
worse, when I got low tension.
So, mail notifications are well configured, I guess...
I think the problem is in upssched.
I'm new to this, so it could be a stupid thing that I'm missing...
2012 Oct 16
8
<form> tag is self-closing before input fields .. (HAML generator used)
The form is inside a table, enclosing a <tr>
= form_tag admins_backoffice_dashboards_path, :remote =>"true" do
%tr.search
%th= link_to t(:clear), "#", :id => :clearFilter
%th= select_tag :role,
options_from_collection_for_select(Role.global, :id, :name, :selected
=> @role_id )
%th= text_field_tag :email, nil, :value
2015 Sep 21
0
problem with NOTIFYCMD
I have been racking my brains on this and just can't figure it out.
In upsmon.conf I defined NOTIFYCMD as /etc/nut/notifyme.sh
I did CHMOD 755 /etc/nut/notifyme.sh
I put a line in /etc/nut/notifyme.sh to echo a simple message when it is
called and the message never shows on an open terminal whenever I pull the
plug to the UPS.
I do, however get a WALL broadcast message to that open
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:
2008 Jul 22
1
Winbind panic - bug #5551 not completely solved in version 3.0.31?
I started my AD-member server with the DC not being present.
Afterwards, I executed the "good practice" sequence from the howtos for
testing a installation:
"testparm ..."
"nmblookup -d ..."
"nmblookup -M ..."
"nmblookup __SAMBA__ ..."
"smbclient -L ..."
And some domain tests:
"net ads testjoin"
"net ads lookup"
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 Aug 17
0
(no subject)
So, this is the result of upsc Inform@localhost with the UPS connected to the mains:
battery.charge: 97.7
driver.name: powercom
driver.parameter.linevoltage: 220
driver.parameter.port: /dev/ttyS0
driver.parameter.type: KIN1500AP
driver.version: 2.0.4
driver.version.internal: $ Revision: 0.5 $
input.frequency: 49.61
input.voltage: 236.3
input.voltage.nominal: 220
output.frequency: 49.10
2019 Feb 14
3
32 seconds vs 72 minutes -- expected performance difference?
>
> Unless you upload a network capture of you mounting and doing the ls -lR
> on the client it's hard to say what really goes on. I understand you
> might not want to make it public.. but if you do
>
This is the last thing I'll try after I've exhausted all the other options.
How are you mounting your share (which mount options)?
>
Something weird is going on with
2005 Jun 30
2
nmbd as wins server
Hi,
I get constantly every some secondes this entry in log.nmd
[2005/06/30 15:11:22, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(284)
dump_workgroups()
dump workgroup on subnet 192.168.53.180: netmask= 255.255.255.0:
TOPTEST(1) current master browser = AADMT00
AADMT00 400c9b0b (Backoffice Testsystem PDC)
[2005/06/30 15:11:22, 4]
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
2006 Aug 17
2
powercom UPS shoutdown discussion
Thank you for your response.
The point is that I have configured my system to shut down at the event "upsc Inform@localhost ups.status"!="OL", not at "LB". So there will be no /etc/killpower file created. At an ups.status != "OL" event, the following script named "notifyme" is run:
echo `date` >> /root/upsLog
echo " No power, shutting
2012 Aug 27
1
nut setup on ubuntu 10.04
using latest stable version, 2.4.3
I've think i've got my configurations mostly working.
I followed the following site.
http://www.blasterspike.it/2011/03/28/how-to-install-nut-on-ubuntu-10-10-maverick-meerkat/
one issue i have is the upsmon.conf setting
NOTIFYCMD /usr/local/ups/bin/notifyme
in web searches it seems like this should be set to
NOTIFYCMD /sbin/upssched
but still not
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