# Latest

**URL:** https://www.ruby-forum.com/latest.md?page=568

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 569

---

## [\[Assigned\] value of def-expr](https://www.ruby-forum.com/t/assigned-value-of-def-expr/245946)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 2, 2013, 5:05pm UTC](https://www.ruby-forum.com/t/assigned-value-of-def-expr/245946 "2013-08-02T17:05:08Z")

</div>

Issue #3753 has been updated by usa (Usaku NAKAMURA). Status changed from Closed to Assigned % Done changed from 100 to 50 =begin \`\`define\_method()‘’ と書かれると迷いが生じるんですが、Module#define\_method が意図されていたということでいいんでしょうか？ で、…

---

## [Help Pybombs](https://www.ruby-forum.com/t/help-pybombs/236061)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 2, 2013, 4:39pm UTC](https://www.ruby-forum.com/t/help-pybombs/236061 "2013-08-02T16:39:25Z")

</div>

I have in stalled pybombs. I looked at all the projects in the recipe directory and have run “./pybombs install gr-ham” and a few others but can’t figure out what it is installing and WHERE did it put it. I thought it…

---

## [Rails multistep form with ajax](https://www.ruby-forum.com/t/rails-multistep-form-with-ajax/245910)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 2, 2013, 4:03pm UTC](https://www.ruby-forum.com/t/rails-multistep-form-with-ajax/245910 "2013-08-02T16:03:10Z")

</div>

I am following Railscasts #217 and I have been able to make everything work using html protocol the only issue is that I need it to use ajax protocol instead. My question and code is very similar to stackoverflow que…

---

## [Set default nginx-conf in sites-enabled?](https://www.ruby-forum.com/t/set-default-nginx-conf-in-sites-enabled/236060)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 2, 2013, 2:55pm UTC](https://www.ruby-forum.com/t/set-default-nginx-conf-in-sites-enabled/236060 "2013-08-02T14:55:59Z")

</div>

I’ve several config-files in sites-enabled, all working fine. However, if a domain (foobar2.com) not is mentioned in a config, NGINX takes the conf-file of foobar1.com. How can i overrule this and make some sort of c…

---

## [Beginners problem with database and datamapper](https://www.ruby-forum.com/t/beginners-problem-with-database-and-datamapper/245577)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 27\
**Last updated:** [August 2, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/beginners-problem-with-database-and-datamapper/245577 "2013-08-02T14:17:33Z")

</div>

Hi all! I’m a complete beginner at this so please bear with me…I dont program at all but if I need to then I have been trying to use Ruby. I made a hash with some URL’s and i’m looping through this hash and using the…

---

## [Caching: Expires takes precedence over max-age](https://www.ruby-forum.com/t/caching-expires-takes-precedence-over-max-age/236039)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 2, 2013, 2:01pm UTC](https://www.ruby-forum.com/t/caching-expires-takes-precedence-over-max-age/236039 "2013-08-02T14:01:03Z")

</div>

Hello, I have a trouble with nginx caching pages it shouldn’t cache. I have uwsgi\_cache enabled: uwsgi\_cache\_path /tmp/cache levels=1:2 keys\_zone=django:1m; location /test { uwsgi\_pass unix:/tmp/uwsgi.sock; uwsgi\_c…

---

## [Stack Overflow hasn't been able to answer my Rspec question thus far](https://www.ruby-forum.com/t/stack-overflow-hasnt-been-able-to-answer-my-rspec-question-thus-far/245965)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 2, 2013, 2:00pm UTC](https://www.ruby-forum.com/t/stack-overflow-hasnt-been-able-to-answer-my-rspec-question-thus-far/245965 "2013-08-02T14:00:27Z")

</div>

I’m copying this directly from Stack Overflow to see if anyone can help. Here is the link to my question on Stack Overflow: \<goog\_622445784\> I keep getting this error when running my Rspec test and can’t figure out …

---

## [Ruby on Rails Interview Questions and Answers for all Ruby Lovers](https://www.ruby-forum.com/t/ruby-on-rails-interview-questions-and-answers-for-all-ruby-lovers/236059)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 2, 2013, 12:29pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-interview-questions-and-answers-for-all-ruby-lovers/236059 "2013-08-02T12:29:17Z")

</div>

Hello guys I have gathered some interview questions with answers in my Blog. Hope people here will found this helpful. Please let me know if any mistakes there. You guys can comment over there it self in the commen…

---

## [Looking for a job](https://www.ruby-forum.com/t/looking-for-a-job/236050)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 2, 2013, 11:50am UTC](https://www.ruby-forum.com/t/looking-for-a-job/236050 "2013-08-02T11:50:43Z")

</div>

Hey all, This is Pallavi from Bangalore . I hold a BE degree from BMSIT in Computer science stream. I passed out in june 2013 . It would be nice if you guys can help me find a job in startups working on Rails. I’m …

---

## [Testing if a controller renders a JS Template](https://www.ruby-forum.com/t/testing-if-a-controller-renders-a-js-template/245882)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 2, 2013, 10:50am UTC](https://www.ruby-forum.com/t/testing-if-a-controller-renders-a-js-template/245882 "2013-08-02T10:50:30Z")

</div>

I have this controller: class UsersController \< ApplicationController def enable\_password\_change respond\_to do |format| format.js { render :layout =\> false } end endend And the following test: test “should rend…

---

## [Operator receive and transmit paths separately](https://www.ruby-forum.com/t/operator-receive-and-transmit-paths-separately/236058)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 2, 2013, 10:13am UTC](https://www.ruby-forum.com/t/operator-receive-and-transmit-paths-separately/236058 "2013-08-02T10:13:05Z")

</div>

Hi all, I would like to implement a RF record and playback system which is similar to https://decibel.ni.com/content/docs/DOC-22174. When it is recording, just receive path is active. During playback, just transmit p…

---

## [UHD Warning on ODD Interpolation](https://www.ruby-forum.com/t/uhd-warning-on-odd-interpolation/236044)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 2, 2013, 9:47am UTC](https://www.ruby-forum.com/t/uhd-warning-on-odd-interpolation/236044 "2013-08-02T09:47:57Z")

</div>

Hello list, I have a graph consisting of a modulator mixed with a signal source, and a USRP sink. I have it configured with a sampling rate of 720KHz. When I run it, UHD fires the following warning (and transmission …

---

## [WATIR - ScriptError popup on IE - Unable to get rid of!](https://www.ruby-forum.com/t/watir-scripterror-popup-on-ie-unable-to-get-rid-of/236027)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 10\
**Last updated:** [August 2, 2013, 9:39am UTC](https://www.ruby-forum.com/t/watir-scripterror-popup-on-ie-unable-to-get-rid-of/236027 "2013-08-02T09:39:29Z")

</div>

I am new to Ruby & Watir, and I am having a nightmare with IE and Script Error popups on unspecified pages, and I need a way to supress these, or get rid of them. My Ruby/Watir script runs perfectly well, apart from t…

---

## [\[ruby-trunk - Bug #8719\]\[Open\] r42096 make bm\_app\_factorial.rb slow](https://www.ruby-forum.com/t/ruby-trunk-bug-8719-open-r42096-make-bm-app-factorial-rb-slow/236056)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 2, 2013, 8:56am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8719-open-r42096-make-bm-app-factorial-rb-slow/236056 "2013-08-02T08:56:32Z")

</div>

Issue #8719 has been reported by authorNari (Narihiro N.). Bug #8719: r42096 make bm\_app\_factorial.rb slow Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: akr (Akira T.) Category: core T…

---

## [Using a Regexp in String#gsub in C](https://www.ruby-forum.com/t/using-a-regexp-in-string-gsub-in-c/245938)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 1, 2013, 10:42pm UTC](https://www.ruby-forum.com/t/using-a-regexp-in-string-gsub-in-c/245938 "2013-08-01T22:42:34Z")

</div>

Hi, I’ve got some code in C that makes a call to String#gsub via rb\_funcall VALUE pattern = rb\_str\_new2(" “); VALUE heading = rb\_funcall(str, rb\_intern(“gsub”), 2, pattern, rb\_str\_new2(”-")); I’d like to get pattern…

---

## [Boost recipe in pybombs](https://www.ruby-forum.com/t/boost-recipe-in-pybombs/245933)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 9:59pm UTC](https://www.ruby-forum.com/t/boost-recipe-in-pybombs/245933 "2013-08-01T21:59:55Z")

</div>

The boost recipe in pybombs builds using the --layout=tagged option which will generate libraries with the -mt suffix. The ‘mt’ stands for multi threaded and is only available for historical reasons,I suppose. Is th…

---

## [Read column from text or csv file and append "varchar,"](https://www.ruby-forum.com/t/read-column-from-text-or-csv-file-and-append-varchar/245961)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 9:38pm UTC](https://www.ruby-forum.com/t/read-column-from-text-or-csv-file-and-append-varchar/245961 "2013-08-01T21:38:52Z")

</div>

Hi Guys, I’m trying to use a ruby script to read a column of data from a single text file or csv and put it into an array which i can print out and also append “varchar,” after each hash entry. For example if i had …

---

## [ANN: Sequel 4.1.0 Released](https://www.ruby-forum.com/t/ann-sequel-4-1-0-released/236055)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 6:02pm UTC](https://www.ruby-forum.com/t/ann-sequel-4-1-0-released/236055 "2013-08-01T18:02:20Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer f…

---

## [OmniAuth routing callback difference between rails 3.1 and rails 3.2](https://www.ruby-forum.com/t/omniauth-routing-callback-difference-between-rails-3-1-and-rails-3-2/236051)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 5:37pm UTC](https://www.ruby-forum.com/t/omniauth-routing-callback-difference-between-rails-3-1-and-rails-3-2/236051 "2013-08-01T17:37:02Z")

</div>

Hello all, I don’t have much experience with OmniAuth and I am trying to figure out what is going on with my routes. My app is currently running rails 3.1.3. When I run rake routes this is what I see for my user call…

---

## [Nginx, solaris, eventport](https://www.ruby-forum.com/t/nginx-solaris-eventport/235625)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 1, 2013, 4:48pm UTC](https://www.ruby-forum.com/t/nginx-solaris-eventport/235625 "2013-08-01T16:48:31Z")

</div>

Hi. I’m using nginx on Solaris for years. For years I’ve been experiencing errors when eventport is on (with /dev/poll everything is fine, but I’m kinda perfectionist and I want to use native solaris features). I rea…

---

## [Planning an application - what is the optimal MVC setup?](https://www.ruby-forum.com/t/planning-an-application-what-is-the-optimal-mvc-setup/236049)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 4:38pm UTC](https://www.ruby-forum.com/t/planning-an-application-what-is-the-optimal-mvc-setup/236049 "2013-08-01T16:38:00Z")

</div>

I am building a site for users where these can create a bunch of scaffolds and for each scaffold the user can create a bunch of tracks. Now, it should be possible for a user to share scaffolds with other users (this …

---

## [Ruby 3 How to get username and password from Ruby app DB and post them to Joomla admin login](https://www.ruby-forum.com/t/ruby-3-how-to-get-username-and-password-from-ruby-app-db-and-post-them-to-joomla-admin-login/236047)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/ruby-3-how-to-get-username-and-password-from-ruby-app-db-and-post-them-to-joomla-admin-login/236047 "2013-08-01T16:37:25Z")

</div>

I have a model in my RoR app. Two of the attributes of this model is username and password, which are the login details of an already installed Joomla site. I would like to use a form in RoR app and when the user cli…

---

## [Error while saving cache](https://www.ruby-forum.com/t/error-while-saving-cache/245939)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/error-while-saving-cache/245939 "2013-08-01T16:37:24Z")

</div>

Hello all, I get the following error Started GET “/” for 127.0.0.1 at 2013-07-31 11:01:25 -0400 Processing by HomeController#index as / Rendered home/index.html.haml within layouts/application (85.0ms) Warning. Err…

---

## [Need suggestion on best gems for Versioning and Extending a model](https://www.ruby-forum.com/t/need-suggestion-on-best-gems-for-versioning-and-extending-a-model/245917)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/need-suggestion-on-best-gems-for-versioning-and-extending-a-model/245917 "2013-08-01T16:37:24Z")

</div>

Hi All, We are starting a new project which will have lots of forms. Each form will represent a single table, but will have many associations to other models. This form’s fields can be extended on the fly. Versions …

---

## [Valgrind error in a readline test](https://www.ruby-forum.com/t/valgrind-error-in-a-readline-test/236043)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 3:53pm UTC](https://www.ruby-forum.com/t/valgrind-error-in-a-readline-test/236043 "2013-08-01T15:53:00Z")

</div>

Issue #8644 has been updated by akr (Akira T.). http://rbci.lakewood.privs.net/ruby-trunk/log/20130801T131001Z.diff.html.gz をみると、 … TestRange#test\_bsearch\_for\_other\_numerics = s = . TestRange#test\_bsearch\_typecheck…

---

## [Required :Embed voice recorder on a webpage for a rural innovation project](https://www.ruby-forum.com/t/required-embed-voice-recorder-on-a-webpage-for-a-rural-innovation-project/236041)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 3:22pm UTC](https://www.ruby-forum.com/t/required-embed-voice-recorder-on-a-webpage-for-a-rural-innovation-project/236041 "2013-08-01T15:22:02Z")

</div>

Dear Ruby Community, We are a startup (Dhwani Rural Information Systemshttp://dhwani.herokuapp.com) who help build customized and scalable ICT solutions for NGO’s and Development Agencies by providing them a tool to …

---

## [Issue in rails new 'Appname'](https://www.ruby-forum.com/t/issue-in-rails-new-appname/236015)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 1, 2013, 1:22pm UTC](https://www.ruby-forum.com/t/issue-in-rails-new-appname/236015 "2013-08-01T13:22:15Z")

</div>

Hi, I have installed jruby 1.7.4 and then i did rails install. Attached file conatins the list of local gems and the error which I am getting while creating new application using rails new Appname command. Can you pl…

---

## [502 in Nginx as a reverse proxy whithout cache](https://www.ruby-forum.com/t/502-in-nginx-as-a-reverse-proxy-whithout-cache/236042)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 12:53pm UTC](https://www.ruby-forum.com/t/502-in-nginx-as-a-reverse-proxy-whithout-cache/236042 "2013-08-01T12:53:38Z")

</div>

Hi, Currently, we use Nginx as a reverse proxy without cache. Last monday we’ve rolled out a new version of PHP application which has appeared a several 502 errors. First of all, i’ve applied the workaround explain…

---

## [Remember me (Devise) not working for me](https://www.ruby-forum.com/t/remember-me-devise-not-working-for-me/245907)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [August 1, 2013, 12:44pm UTC](https://www.ruby-forum.com/t/remember-me-devise-not-working-for-me/245907 "2013-08-01T12:44:17Z")

</div>

Hi all, I have setup all the devise configuration. But facing issue in remember me. I check remember me checkbox before sign in and I can see cookie is created and user table is also get updated . But when I logout…

---

## [Hosting of Ruby on Rails3 App](https://www.ruby-forum.com/t/hosting-of-ruby-on-rails3-app/220819)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [August 1, 2013, 12:15pm UTC](https://www.ruby-forum.com/t/hosting-of-ruby-on-rails3-app/220819 "2013-08-01T12:15:01Z")

</div>

I want to host a website using Ruby on Rails 3. Which 3 best hosts give me web space to do that ? Please suggest me best 3 hosting sites to develop RoR3 Website. – Mandeep K.

[Previous page](https://www.ruby-forum.com/latest.md?page=567)

[Next page](https://www.ruby-forum.com/latest.md?page=569)
