Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
base.rb 9.51 KB
bmc.rb 1.6 KB
bond.rb 1.38 KB
bootable.rb 455 Bytes
interface.rb 4.32 KB
managed.rb 3.46 KB

Latest revisions

# Date Author Comment
a152a1b2 11/09/2015 09:33 AM Tomer Brisker

Fixes #11444 - Correctly count hosts in domain

Only hosts that have a primary nic assigned to a domain should be
counted in the domain host count. Previous implementation was flawed in
that it only updated the counter in certain occasions and not all,
leading sometimes to incorrect host counts....

02e4c535 10/26/2015 08:44 AM Daniel Lobato Garcia

Fixes #11924 - Substitute .scoped by .where(nil) to force return relation

On Rails 4 .scoped is deprecated. Calling .all on the model returns the
equivalent ActiveRecord relation object on Rails 4, but on Rails 3 it
returns an Array right away.

A proper replacement we can use is where(nil) - it's ugly but it returns...

c1755e07 10/12/2015 06:54 AM Daniel Lobato Garcia

Fixes #10988 - Remove 1.11 deprecations

3b75c0a7 10/07/2015 04:33 AM Daniel Lobato Garcia

Fixes #12067 - Delegated methods need to be public, not protected

generate_pxe_template and require_ip_validation? are delegated to
primary interface on Host::Managed. However, these methods are
protected. On Rails 4, protected methods cannot be called through a...

a3212817 10/02/2015 07:37 AM Marek Hulán

Fixes #12034 - scope nics to validate uniqueness against

35241dd6 09/16/2015 07:38 AM Marek Hulán

Fixes #11034 - custom uniqueness validations for interface attributes

84f7fc68 09/04/2015 11:06 AM Marek Hulán

Fixes #11696 - remove unused code

bb3572ff 09/02/2015 05:58 AM Daniel Lobato Garcia

Refs #3809 - Stabby lambda syntax for oneliners

I started by spotting log.rb which didn't have a lambda wrapping its
default scope, as needed by Rails 4. Since the style guide and most
Rails 4 documents used the stabby lambda, I turned on the cop so that we...

3b27c173 07/31/2015 11:59 AM Marek Hulán

Fixes #11258 - validation handles blank provider

111b0459 07/24/2015 10:28 AM Daniel Lobato Garcia

Refs #3809 - Enable cop Style/IfUnlessModifier

View revisions

Also available in: Atom