Displaying 20 results from an estimated 3000 matches similar to: "Rails app exception "can't activate active support""
2012 Feb 10
2
Discrete Event Simulation problem
Hi All,
I am attempting to simulation an inventory model on R and I am having some
problems. I believe the problem is when I define my demand rate is stays
constant throughout so when I do need to reorder the model does not
recognise it as I have the initial supply arrival time set to infinity at
the start as no order has been played but I have an if statement saying, if
the level falls below a
2007 Nov 16
4
Newb - variable returns # sign?
Hi Gurus-
I want to return the variety from the species table based on the
active record link to inventory table
class Species < ActiveRecord::Base
has_many :inventories
end
class Inventory < ActiveRecord::Base
belongs_to :species (this is the singular and the plural, so that''s
OK)
end
My inventory_controller looks like:
def show
@inventory =
2012 Dec 12
8
puppet dashboard inventory
I have a puppet master install which uses puppetdb. I also have puppet
dashboard installed with the inventory service running. I want multiple
puppet masters using a single puppetDB server. Puppetdb is installed on
separate vm.
How can I get the dashboard inventory to use the puppetdb server to get the
inventory records? Where do I configure the dashboard inventory so it uses
puppetdb?
I
2011 Jul 23
2
Dashboard not retrieving inventory
Hi All,
Puppet-dashboard appears to be having some trouble. Under inventory, it says:
"Could not retrieve facts from inventory service: Permission denied -
certs/dashboard.private_key.pem"
When I run:
curl -k -H "Accept: yaml" https://puppet:8140/production/facts/host.domain
I get the expected dump of facts.
Versions:
puppet-dashboard is 1.1.0 (using passenger)
puppet-master
2006 Apr 18
1
''wrong number of arguments'' for text_field?
This is probably something very simple but I can''t seem to figure out
why I keep getting the ''wrong number of arguments (1 for 2)'' error with
the following code when I try to create a new record. If anyone can see
what is going wrong here please help!
new.rhtml
-------------------------------------------------
...
<%= start_form_tag :action =>
2011 Feb 07
2
Puppet CA Inventory and Serial # file... unique format?
I''m working on a system for auto-resigning certificates for our clients and Iv''e basically got it working .. but I notice that Puppet uses an inventory file and a serial # file that seem to be differently formatted than the openssl toolkit uses? The serial number file that puppet generates has a 4 digit number starting with 0000... but openssl tracks its serial numbers in a hex
2005 Oct 11
2
Pushing Javascript Helper to external file.
I have a table and when I mouseover a row I want a pop-up with some
additional information for that specific row (called remotely).
I can do this easily with something along the lines of...
onmouseover="<%= remote_function(:updated => "notediv", :loading => "
Element.show(''note'');", :url => {:action => ''get_note'', :id
2006 Aug 15
6
try creating a table for your model
Railers:
Greetings from the low end of the learning curve. I have installed all
the prerequisites on Win32, including a lite MySQL database with a
table in it called Inventory.
Then I run this command line...
ruby script/generate ajax_scaffold Inventory
...and I get this error message:
error Before updating scaffolding from new DB schema, try creating
a table for your model
2005 Oct 04
2
newbie questions - looping through hierarchial datafille
Dear List,
Im new to R - making a transition from SAS. I have a space delimited file
with the following structure. Each line in the datafile is identified by
the first letter.
A = Inventory (Inventory)
X = Stratum (Stratum_no Total Ye=year established)
P = Plot (Plot_no age slope= species)
T = Tree (tree_no frequency)
L = Leader (leader diameter height)
F = Feature (start_height finish_height
2017 Nov 13
2
SAMBA4 API
I am looking for a way to programatically modify DNS settings from outside
of my SAMBA4 DCs.
I am working on creating a PHP inventory page, which (in an ideal world)
would hook into our SAMBA4 domain controllers, allowing us to modify DNS
records in the inventory, and then have the backend of the inventory
communicate with the DCs over an API and modify the DNS on the DCs.
Is it possible that
2011 Mar 18
4
Inventory service and dashboard 1.1.0 rc1
I just set up the latest dashboard release candidate in hopes of
trying out the new inventory service. After modifying the puppet-
dashboard config to use the inventory service and after changing my
auth.conf I gave it a whirl but ran into some issues..
I initially tried using fact_terminus = yaml and was able to do some
queries via curl. I''m currently using storeconfigs so setting up
2017 Nov 14
2
SAMBA4 API
>From the inventory server, which is a separate server from the DC. it's a
FOG server which has had several additional tables bolted onto the database
and a PHP inventory page added to it.
On Tue, Nov 14, 2017 at 12:05 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Tue, 14 Nov 2017 11:48:29 -0600
> Taylor Hammerling <thammerling at tcsbasys.com>
2006 Aug 15
5
Set up a default route
Phlip wrote:
> Can I fix it by adding a view called ''inventories''?
That worked, because I have a sufficiently late version of MySQL.
Next question. What does "Set up a default route" mean?
When I read...
http://wiki.rubyonrails.com/rails/pages/Routes
...it reminds me of the Apache documentation for mod_rewrite. I hope
someone appreciates the candor of my
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
Hello, I''m developing an app that basically, receives a 10MB or less XLSX
files with +30000 rows or so, and another XLSX file with about 200rows, I
have to read one row of the smallest file, look it up on the largest file
and write data from both files to a new one.
I just did a test reading a few rows from the largest file using ROO
(Spreadsheet doesn''t support XSLX and
2012 Jan 13
1
mysql errors
I''m currently running three puppet masters (version 2.7.3 via apache
+passenger) in a cluster, 2 on CentOS 5.7, 1 on CentOS 6.1
On the 6.1 master, I am frequently getting the following error
(approximately 50% of the time when a client connects):
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Mysql::Error: Unknown prepared statement handler (7) given to
2012 Jul 04
4
Identifying host OS in an ENC
Hi all,
We have a mixed Linux and Windows environment and have so far just
been using Puppet on our Linux servers. Having configured the
inventory service, we''ve got an auditing script that uses the data to
report on things like OS version, RAM, etc. This is all so nice that
we''d like to extend it to auditing our Windows infrastructure.
However, at this point in time, we have
2006 Jul 15
4
updating multiple records with form
I have an app that has two models -- products and details. I''m building
a form that allows a user to create a new product and specify a
description, etc.
The form needs to allow for creation of multiple items in the details
model/table. for example, I have a block of form items that collect
info for the men''s version of the product -- inventory count for each
size, etc. And
2009 Dec 14
5
Too many methods in the model? Extra lightweight logic layer?
Hi,
Given the convention of fat models to handle business logic, is there
a point where you might be justified in using a separate plain ruby
object(s) to orchestrate certain business logic interactions,
essentially a middle layer between your controllers and models for
high level functions?
If you look at the InventoryTransaction model below you will see the
sort of methods I mean. In this case
2011 Nov 15
3
Adding power devices support to Fusion Inventory
Dear Fusion Inventory fellows,
I've been thinking about working on adding power devices knowledge to
inventory systems for years.
Following the last Ubuntu Developer Summit, I know have an "excuse" to do
so:
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-cloud-power-management
My below proposition is related to the above blueprint. So please keep in
mind that the
2009 Mar 13
4
Custom .c32 module which can send tcp or udp packets
I need to write a custom .c32 module which can send information over to a separated service or tftp deamon. The goal is to send inventory information gathered in pxelinux to be transfered back to the inventory database without booting a kernel or os-image.
Is this possible and if so, can you give me a hint how to realise this?
Thanks,
Daniel