Page 1 of 4 | Next »
[03:37:30] neohunter: i wanto to be able to access a nested hash with a dot notation like my_hash['this.is.nested']
[13:31:58] neohunter: I've this on a rails 5.0 application config.assets.paths << File.join(Rails.root, "/vendor/admin")
[13:33:10] neohunter: if i set the full path pages/ico/60.png it says that is not precompiled and ask me to add to the precompiled assets list
[13:33:43] neohunter: I checked the lambda on railties.rb for files to be precompield and its exactly the same on both version
[00:21:18] neohunter: already. Now i want to require it on app initialization, I added the require on my application.rb but it sasys cannot load such file, Where i can add the require?
[00:21:18] neohunter: Hi there, I'm using the Telegram-bot gem that have a module Telegram. I want to extend it to add one method, so i can to Telegram.send_message with my default configuration. I added a telegram.rb file on app/models.rb that extend there original module. if on console i run Telegram.send_message it says undefined method, If I do require 'telegram' the send_message method now works, (i guess its not autoloaded as there is module called Telegram
[16:20:27] neohunter: What could be the reeason for passanger not picking up the right ruby version when using as apache module?
[16:08:15] neohunter: i want to store a URL that will be used, and will be different for production and for development
[15:13:29] neohunter: Can someone please give me a hand with this one, is driving me crazy: http://stackoverflow.com/questions/36287926/rails-is-not-using-the-configuration-set-on-database-yaml/36288045#36288045
[15:13:56] neohunter: my rails is not using the database.yml settings to connect, but is showing the right params on the log,
[15:14:29] neohunter: it says, cant create database for... "username"=>"ubuntu", "host"=>"127.0.0.1".... but error says Access denied for user ''@'localhost'
[14:47:32] neohunter: I want to create a column to store the transmission type of my, lets say, "car", what would be the best column type for this? enum('automatic', 'manual') or a boolean?
[15:48:57] neohunter: @durexlw what! but is only 2 options that will never change, that's is inpracticall, would I need to create a table even for gender?
[16:16:15] neohunter: universa1: I have an application that has intensive console access and i want to monkey patch ActiveRecord to create some alias methods like ua for update_attribute, but want to do that only for console.
[16:17:52] neohunter: universa1: yes I know, and I already using .pryrc for some global stuff, but this changes will be for only one project
[16:33:46] neohunter: universa1: you know... i did USING_CONSOLE=true but on the initalizer file the constant is not defined...
[21:08:37] neohunter: get '/wp-content/*', to: redirect('https://google.com/') is not working... why? i got 404
[21:13:03] neohunter: get '/testing/*', to: redirect('https://google.com/') is not working... why? i got 404
[17:28:05] neohunter: im having this error /Users/arnoldroa/.rvm/gems/ruby-2.1.2/gems/psd-2.1.2/lib/psd/layer_info/typetool.rb:126:in `join': incompatible character..... I added a binding.pry inside that file and it doesnt stop. why?
[17:33:11] neohunter: shevy: yeah, i dont care too much about the error.. is invalid encoding.. but i want to debug the gem... but i dont understnad why, if i modified the file on the gem, why it dont got executed
[17:37:34] neohunter: so basically, if i receive this error: /Users/arnoldroa/.rvm/gems/ruby-2.1.2/gems/psd-2.1.2/lib/psd/layer_info/typetool.rb:126:" and I modify that file, why I run the script again and my code is not evaluated?
[18:28:04] neohunter: Wow, still not able to understand! why if I modified a file in my .rvm gems folder, it get cached or not evaluated after some time have lapsed?
[18:29:45] neohunter: apeiros i know is the right file because i went to lunch, and went i came back my edit was working, i removed the lines and it .. continue working (raise with custom message) even when the line was already removed...
[18:36:16] neohunter: so.. my problem is that i edit a source file of a gem, and it doesnt get updated.
[13:30:16] neohunter: how i can create a get route that is processed by a controller in a namesapce?
[22:18:05] neohunter: Hi, I want to access HISTORY from IRB, I've readed source and it has module IRB; module HistorySavingAbility;
[22:19:53] neohunter: 1) yes I want that, 2) I also want to learn and know how to access that HISTORY var if I should use class_eval or instance_eval
[22:32:21] neohunter: neohunter: you can use puts Readline::HISTORY.to_a to view the recent commands history, not sure about your other question
[19:35:26] neohunter: how rails 2.3 used to do model.relationship returns an array of results, and model.relatiopnship.find exists