Hi there. I am new in RoR and Redmine, and trying to get through it. As i understood, sql returns the array of results of sql expression. So here is the question : for example, my resultig arrays have only one element in themselves. How to set this one element to be selected automatically? In sql.rb in formats directory i saw def possible_values_options and i understand how it works, but need some guidance with my problem.
Hi there. I am new in RoR and Redmine, and trying to get through it. As i understood, sql returns the array of results of sql expression. So here is the question : for example, my resultig arrays have only one element in themselves. How to set this one element to be selected automatically? In
sql.rb
informats
directory i sawdef possible_values_options
and i understand how it works, but need some guidance with my problem.