Lev Cheryomukhin
Lev Cheryomukhin
i need to be able publishing from inside monitor private_pub.ru ``` ruby server.bind :subscribe do |client_id, channel| if /\/chat\/\d+\/user\//.match(channel) m = /\/chat\/(?\d+)\/user\/(?\d+)/.match(channel) user_id = m[:user_id] chat_id = m[:chat_id] end unless...
gem version is 3.0.1 error: Tag cannot be empty ``` 2.0.0p195 :001 > post = NewsPost.new(id: 277423, 2.0.0p195 :002 > name: "В торговом центре 52-летний мужчина в туалете свел счеты...
in howto options strings are placed in models, this is absolutely wrong place for it
in the code we got: ```js if(typeof insertionNode === 'function') { if(insertionTraversal) { console.warn('association-insertion-traversal is ignored, because association-insertion-node is given as a function.'); } return insertionNode(btn); } ``` how exactly...
i've generated an engine, it uses standard layout with cells inside. menu cell renders namespaced (wrong) links, so i found i need to use main_app.profile_path sadly, cells don't know what...
i tried to include jquery.turbolinks with no success. then i installed ``` gem "twitter-bootstrap-turbo" ``` and included js from there. also i needed to do in config/application.rb ``` ruby config.assets.enabled...
running tests now causes: ``` 11:21:16 - INFO - Run all 11:21:16 - INFO - Running all specs /home/nir0/.rvm/gems/ruby-2.0.0-p195@vsluh4dev/gems/activerecord-4.0.0/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `class_inheritable_accessor' for ActiveRecord::Base:Class (NoMethodError) from /home/nir0/.rvm/gems/ruby-2.0.0-p195@vsluh4dev/gems/userstamp-2.0.1/lib/stampable.rb:29:in `block in...
after a while preview started to work in a very strange way (possibly, because we didn't freeze the version) here's console output https://gist.github.com/4327657 and here's schema, if needed https://gist.github.com/4327661