Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
location.rb 1.24 KB
organization.rb 1.32 KB

Latest revisions

# Date Author Comment
ad61b8ca 01/02/2018 04:15 PM Tomer Brisker

Fixes #22043 - Allow adding invalid orgs to locs (#5104)

And vice-versa. Currently when a taxonomy is invalid (e.g. because some
mismatch with hosts and resources), it cannot be assigned to the
opposite taxonomy. This is due to the fact that by default,
`has_and_belongs_to_many` associations validate the associated object as...

3576f8fb 12/16/2017 01:42 PM Marek Hulán

Fixes #21343 - support multiple orgs supported for non-admin users

  • Fixes #21343 - support multiple orgs supported for non-admins

This adds a full support for taxonomies in API for non-admin users. It
fixes the issue with dirty associations module that only track _ids...

a4d7a037 10/07/2016 02:51 AM Marek Hulán

Fixes #12864 - verify host owner taxonomies

12612809 07/29/2016 05:58 AM Dominic Cleal

fixes #3917 - replace protected_attrs with strong parameters

Filtering of attributes has moved from the protected_attributes gem to
strong parameters in controller concerns, to be in line with current
Rails recommendations.

Concerns are shared between UI and both API controllers and list the...

1a753b07 06/30/2016 10:13 AM Partha Aji

Fixes #15336 - Enables proper deletion of Orgs

Prior to this commit if you had an Org/Location with a host and tried to
the delete the Org. You would end up with an error that looks like

<Org> is used by <Host> (RuntimeError)

Basic error is these 2 areas...

3326499a 12/01/2015 07:17 AM Daniel Lobato Garcia

Fixes #7568 - Use attr_accessible for Rails 4 upgrade

ee99bfba 09/24/2015 03:16 AM Daniel Lobato Garcia

Refs #11846 - Specify join_tables for taxonomies

Missed this as part of the previous fix for 11846. As a brief reminder,
it's necessary to specify the join table for habtm associations on Rails
4, and it doesn't hurt on Rails 3, so we should do it before the upgrade.

be33e6e9 09/03/2015 03:46 AM Tomer Brisker

Fixes #11650 - show global parameter value inherited from parent taxonomy

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...

abd8f1d1 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove cops for empty lines

View revisions

Also available in: Atom