In app/controllers/static_pages_controller.rb the following variables
(among others) are defined:
def home
if logged_in? && !current_user.gamer?
...
elsif logged_in? && current_user.gamer?
...
@week_num = Time.now.strftime("%W").to_i
@atp_tournaments = AtpCalendar.where("week @> ?",
"{#{@week_num}}")
@wta_tournaments = WtaCalendar.where("week @> ?",
"{#{@week_num}}")
end
end
The AtpCalendar and WtaCalendar fixtures are empty.
Therefore, any? should return an empty array
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/0d409d47-fa7d-405f-b506-162ace24699f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.