Is it frowned upon to "eval" ruby code pulled out of a database to provide "scripting" to certain users of a web application? Any suggested alternative approaches to allowing administrators to add new behavior to an application without redeploying?
matthewd, it seems odd to try to embed a scripting language into my rails application.
Can anyone explain or point me to some documentation explaining why the output of this snippet is true instead of false? https://gist.github.com/anonymous/9c3973e0ffe1660ace4423056b2941d1
Anyone have any experience with browserify-rails working in development but not in production? No errors, just silently removing any stuff that should be 'browserified' from compiled assets
noob_on_rails: have you taken a look at this ruby gem https://github.com/elastic/elasticsearch-rails
noob_on_rails: It's using elasticsearch-transport under the covers which lists how to connect to another host in its docs: http://www.rubydoc.info/gems/elasticsearch-transport