Displaying 11 results from an estimated 11 matches for "resources_control".
Did you mean:
resourcecontrol
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...ls, so I've cleaned jup the parameter handling for the various pool 'create' actions.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/hardware_controller.rb | 5 +----
src/app/controllers/pool_controller.rb | 6 ++++--
src/app/controllers/resources_controller.rb | 6 ------
src/app/services/hardware_pool_service.rb | 4 ++--
src/app/services/smart_pool_service.rb | 4 ++--
src/app/services/vm_resource_pool_service.rb | 4 ++--
6 files changed, 11 insertions(+), 18 deletions(-)
diff --git a/src/app/controllers/hardware_controlle...
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
...m for the Permission and Network controllers.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/application.rb | 2 +-
src/app/controllers/network_controller.rb | 2 +-
src/app/controllers/permission_controller.rb | 6 ++----
src/app/controllers/resources_controller.rb | 5 ++---
src/app/controllers/storage_controller.rb | 6 +++---
src/app/controllers/vm_controller.rb | 5 ++---
6 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/src/app/controllers/application.rb b/src/app/controllers/application.rb
index 040b8a3..e50f71e...
2009 Sep 28
2
Error with flash and form_authenticity_token in new rails application with scaffolding
...action_controller/request_forgery_protection.rb:102:in
`form_authenticity_token''
(eval):2:in `form_authenticity_token''
/home/kashyap/Lab/sitara/app/views/resources/new.html.erb:3:in
`_run_erb_app47views47resources47new46html46erb''
/home/kashyap/Lab/sitara/app/controllers/resources_controller.rb:29:in
`new''
I bypass this by commenting out protect_from_forgery from the
application_controller
Another problem I get is with flash -
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/
active_support/message_verifier.rb:46:in `block in secure_compare''
/usr/lo...
2009 Jul 02
1
[PATCH server] UI for accumulated uptime for VMs. (revised)
This revised version of the patch incorporates jguidditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 5 ++---
src/app/helpers/application_helper.rb | 14 ++++++++++++++
src/app/models/vm.rb | 11 ++++++++++-
src/app/views/cloud/instance/_list.rhtml | 4 ++++
src/app/views/vm/_grid.r...
2009 Jul 06
2
[PATCH server] UI for accumulated uptime for VMs. (revised3)
This revised version of the patch incorporates jguiditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 7 +++----
src/app/helpers/application_helper.rb | 14 ++++++++++++++
src/app/models/vm.rb | 11 ++++++++++-
src/app/views/cloud/instance/_list.rhtml | 4 ++++
src/app/views/vm/_grid...
2009 Jun 29
3
[PATCH server] UI for accumulated uptime for VMs.
There's still a problem with this working on the cloud side, but that can be resolved in a subsequent commit.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 7 ++++++-
src/app/controllers/smart_pools_controller.rb | 5 ++---
src/app/helpers/application_helper.rb | 14 ++++++++++++++
src/app/models/vm.rb | 5 +++++
src/app/views/cloud/instance/_list.rhtml | 3 +++
src/app/views/vm/_grid.rhtml...
2009 Jul 06
0
[PATCH server] UI for accumulated uptime for VMs. (revised2)
This revised version of the patch incorporates jguiditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 7 +++----
src/app/helpers/application_helper.rb | 14 ++++++++++++++
src/app/models/vm.rb | 11 ++++++++++-
src/app/views/cloud/instance/_list.rhtml | 4 ++++
src/app/views/vm/_grid...
2009 Sep 16
2
[Fwd: Re: [PATCH node-image] keep NIC and HBA firmwares]
Forwarding to the list for Jay or Scott to have a look.
Ignazio, do you see any more details (traceback or something) in the rails log?
-------------- next part --------------
An embedded message was scrubbed...
From: ignazio.cassano at provincia.torino.it
Subject: Re: [Ovirt-devel] [PATCH node-image] keep NIC and HBA firmwares
Date: Wed, 16 Sep 2009 16:48:47 +0200
Size: 4031
URL:
2007 Mar 24
1
spec''ing metaprograming & rails CRUD
For edge rails there is a Crud generator. There is also a CRUD
controller that is out there from which you can inherit your other
controllers (see http://geekonomics.blogspot.com/2006/07/crud-and-
shared-controllers.html)
This got me thinking about Crud controllers in general. As far as I
know, the generator can''t produce crud classes which are nested
(i.e.
2011 Apr 06
2
Puppetdashboard 1.1.0 spec file
...e directories, that don''t exist anymore.
I did some remodelling in the file, so it creates a rpm now, but I''m
not sure whether my "fix" is the only change needed.
my change:
replace
--------------------
for plugin in authlogic inherited_resources jrails object_daddy
resources_controller timeline_fu will_paginate; do
cp -p -r vendor/plugins/$plugin %{buildroot}%{_datadir}/%{name}/
vendor/plugins/$plugin
done
cp -p -r vendor/gems %{buildroot}%{_datadir}/%{name}/vendor
cp -p -r vendor/rails %{buildroot}%{_datadir}/%{name}/vendor
--------------------
with
--------------------...
2007 Mar 24
0
Using spec fixtures with integration tests
...cally
>> end
>> end
>> end
>>
>> class CommentsController < CrudController
>> model :comments
>> belongs_to :post
>> end
>
> You might want to look into the resource_controller plugin: (http://
> svn.ardes.com/rails_plugins/resources_controller/
>
> It does what you''re describing in a very nice way and supports nested
> as well as acts_as_tree situations.
>
> Michael
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://rubyforge.org/pipermail/rspec-users/attac...