LatvianDancers
LatvianDancers
I am using the following: ``` require "em-synchrony" require "em-synchrony/mysql2" require "em-synchrony/activerecord" ``` I have three active_relation objects in an array: ``` EM.synchrony do statuses = [ User.very_frequent, User.frequent, User.infrequent...
I am using EventMachine to poll devise (devise gem) users who are stored in my Rails application. However, the EventMachine polling mechanism is a separate running process from my Rails...
This works fine: ``` ``` because I specified the route in routes.rb: ``` mount FullcalendarEngine::Engine , at: "/fullcalendar_engine" resources :events, module: 'fullcalendar_engine' , only: [:index, :show] do collection do get...
I am trying to do a fulltext search. It was working for a while and now the following command is not working: [resp = ::Mongoid::Sessions.default.command(text: "mongoid_container_contacts", search: "8044939")](url) It fails...
I need to include my assets at the bottom of the page, not in the header, since it will slow down the load of the page. But when I include:...
The uid_search method doesn't work: ``` EventMachine.run do imap = EM::IMAP.new('imap.gmail.com', 993, true) imap.connect.bind! do imap.login('[email protected]', 'password') end.bind! do imap.select('INBOX') end.bind! do imap.uid_search("2:*") end.bind! do |ids| imap.fetch(ids, "(UID RFC822)") end.callback...
I am trying to work with an ActiveRecord object on the callback but I get the error "cannot yield from root fiber": ``` EM.synchrony do User.all.each do |user| client =...
When I try to precompile assets for production: bundle exec rake assets:precompile RAILS_ENV=production I get the following error: ``` ExecJS::ProgramError: RangeError: Maximum call stack size exceeded (in /myapp/app/assets/javascripts/application.js) ``` This...