#375 ✓wontfix
Tiago Franco

remove limit of 10 occurences in dev-user-changer select-menu

Reported by Tiago Franco | January 28th, 2009 @ 11:02 PM

The select-menu dev-user-changer has an hardcoded limit of 10 users.

Usually, users in several use cases are created within the application (i.e. user_with_grosseries, user_without_purchase_order, admin, user_not_activated, etc...).

When the number of users is greater than 10, the select-menu shows only the first 10 in the database. Because users.yml does not require the specification of the ID, the users that appear in the listbox may not be the same in every run of db:fixtures:load. There is no way to control which users appear in the select-box.

Nevertheless, 10 is a low number for the different situations in a regular web application.

Please remove the hardcoded limit (I've done it in my application.dryml).

Comments and changes to this ticket

  • Tom Locke

    Tom Locke March 12th, 2009 @ 11:03 AM

    • State changed from “new” to “wontfix”

    I see your problem, but...

    I don't want to remove it as there may be 100s or 1,000s (some people run dev mode with a copy of their production db).

    I also don't want to make it parameterised as it would complicate the page API for something that's only for dev mode

    Redefining in application.dryml is the best option

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages