title: Redmine - Ruby on Rails - Populate "Custom Field" list data type with values from database
body: <p>I am working on an Redmine web application. I would like to create a "Custom field", with data type of "List". </p>
  
  <p>Currently, Redmine allows you to define the values in this list by typing them manually. However, in my case, I would like to know if there's a way I could populate the values in the list by defining an SQL <code>select</code> query so whatever is returned is in the values for that list. Perhaps a plugin that I could write? </p>
  
  <p>Any help is appreciated. </p>