# Latest

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

[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:** 562

---

## [ZenTest 4.9.3 Released](https://www.ruby-forum.com/t/zentest-4-9-3-released/245987)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 14, 2013, 12:13am UTC](https://www.ruby-forum.com/t/zentest-4-9-3-released/245987 "2013-08-14T00:13:11Z")

</div>

ZenTest version 4.9.3 has been released! home: https://github.com/seattlerb/zentest rdoc: http://zentest.rubyforge.org/ZenTest ZenTest provides 4 different tools: zentest, unit\_diff, autotest, and multiruby. zente…

---

## [A newbie questionadding database field to a model basing only on schema (without model regeneration)](https://www.ruby-forum.com/t/a-newbie-questionadding-database-field-to-a-model-basing-only-on-schema-without-model-regeneration/245985)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 13\
**Last updated:** [August 13, 2013, 10:21pm UTC](https://www.ruby-forum.com/t/a-newbie-questionadding-database-field-to-a-model-basing-only-on-schema-without-model-regeneration/245985 "2013-08-13T22:21:14Z")

</div>

hi! i am trying to add database field to a model without model regeneration. i have added my field to migration scripts class CreateUsers \< ActiveRecord::Migration def change create\_table :users do |t| t.string :na…

---

## [Profile CPU Usage with gr-ctrlport-monitor](https://www.ruby-forum.com/t/profile-cpu-usage-with-gr-ctrlport-monitor/245992)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 8:03pm UTC](https://www.ruby-forum.com/t/profile-cpu-usage-with-gr-ctrlport-monitor/245992 "2013-08-13T20:03:20Z")

</div>

Hi list, I’m trying to profile the CPU Usage of I flow graph. What I’m trying to do is to know how much CPU each processing block is consuming. So far, I have used gr-ctrlport-monitor to obtain the the avg work time …

---

## [How do I change the jQuery version of a page?](https://www.ruby-forum.com/t/how-do-i-change-the-jquery-version-of-a-page/236193)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 7:10pm UTC](https://www.ruby-forum.com/t/how-do-i-change-the-jquery-version-of-a-page/236193 "2013-08-13T19:10:10Z")

</div>

I have two Rails sites (Bargain Stock Funds and Doppler Value Investing) that use the Ransack gem. In the Bargain Stock Funds search page ( http://www.bargainstockfunds.com/funds), the “remove” and “add conditions” …

---

## [Nginx & Unicorn setup](https://www.ruby-forum.com/t/nginx-unicorn-setup/236152)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [August 13, 2013, 6:43pm UTC](https://www.ruby-forum.com/t/nginx-unicorn-setup/236152 "2013-08-13T18:43:19Z")

</div>

Hi, I’m having a bit of aggro getting Unicorn and Nginx setup to where Uncorn.rb actually loads. Second prob is getting Nginx to properly recognize the new app listed as server in nginx.conf Does anyone know of any go…

---

## [Something wrong when I tried to create a out-of-tree module](https://www.ruby-forum.com/t/something-wrong-when-i-tried-to-create-a-out-of-tree-module/246044)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 6:41pm UTC](https://www.ruby-forum.com/t/something-wrong-when-i-tried-to-create-a-out-of-tree-module/246044 "2013-08-13T18:41:32Z")

</div>

Hello all, My gnuradio worked fine before, but recently when I use the command: gr\_modtool newmod howto to create a out-of-tree module, error occurs and it says, Traceback (most re…

---

## [Please explain: Weird to\_s behaviour](https://www.ruby-forum.com/t/please-explain-weird-to-s-behaviour/236190)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 13, 2013, 6:24pm UTC](https://www.ruby-forum.com/t/please-explain-weird-to-s-behaviour/236190 "2013-08-13T18:24:35Z")

</div>

Hi everyone Who has a good explanation for the output of this: https://gist.github.com/kschiess/6218466 ? regards, kaspar

---

## [Fix bug in http\_referer\_module that using incorrect input string length in the regex matching proces](https://www.ruby-forum.com/t/fix-bug-in-http-referer-module-that-using-incorrect-input-string-length-in-the-regex-matching-proces/246032)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 13, 2013, 5:25pm UTC](https://www.ruby-forum.com/t/fix-bug-in-http-referer-module-that-using-incorrect-input-string-length-in-the-regex-matching-proces/246032 "2013-08-13T17:25:34Z")

</div>

— ngx\_http\_referer\_module.c +++ ngx\_http\_referer\_module.c @@ -147,10 +147,12 @@ if (ngx\_strncasecmp(ref, (u\_char \*) "http://", 7) == 0) { ref += 7; len -= 7; goto valid\_scheme; } els…

---

## [Sharing post via email on social Q and A site](https://www.ruby-forum.com/t/sharing-post-via-email-on-social-q-and-a-site/236181)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/sharing-post-via-email-on-social-q-and-a-site/236181 "2013-08-13T16:25:55Z")

</div>

From a rails social question and answer site using Twitter Bootstrap, I want to allow users to share a question via email. The question would have an email icon that opens a modal where an email address, name, and co…

---

## [Running GMSK mod/demod test](https://www.ruby-forum.com/t/running-gmsk-mod-demod-test/236177)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 3:31pm UTC](https://www.ruby-forum.com/t/running-gmsk-mod-demod-test/236177 "2013-08-13T15:31:01Z")

</div>

I trying to run a GMSK mod/demod test under GRC. My objective is to create a single GSM-like burst and to store it in a file. The waveform should have defined bits (by now I assume them to be random). Thus I created a…

---

## [How to call method in one application from another application in ruby on rails](https://www.ruby-forum.com/t/how-to-call-method-in-one-application-from-another-application-in-ruby-on-rails/236191)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 2:07pm UTC](https://www.ruby-forum.com/t/how-to-call-method-in-one-application-from-another-application-in-ruby-on-rails/236191 "2013-08-13T14:07:27Z")

</div>

I want to call the method and get the response in my application from another application in Ruby on Rails technology, but here cross site scripting problem is there. so, i can i resolve this issue please help me it w…

---

## [Regex to extract numbers](https://www.ruby-forum.com/t/regex-to-extract-numbers/236089)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 13, 2013, 1:42pm UTC](https://www.ruby-forum.com/t/regex-to-extract-numbers/236089 "2013-08-13T13:42:20Z")

</div>

I have an array of links like this /ENETCONSULTA/frmGerenciaPaginaFRE.aspx?NumeroSequencialDocumento=5335&CodigoTipoInstituicao=2 I need to extract only the 5335, how could this be done using regular expressions?

---

## [Something wrong after I add a new c++ block in gnuradio. ('module' object has no attribute)](https://www.ruby-forum.com/t/something-wrong-after-i-add-a-new-c-block-in-gnuradio-module-object-has-no-attribute/236188)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 13, 2013, 12:05pm UTC](https://www.ruby-forum.com/t/something-wrong-after-i-add-a-new-c-block-in-gnuradio-module-object-has-no-attribute/236188 "2013-08-13T12:05:57Z")

</div>

Hi guys, Thanks in advance. I have add a new c++ block in gnuradio/gnuradio-core/src/lib/general, named gr\_multiply\_const\_cc1.cc, with other two files, named \* gr\_multiply\_const\_cc1.h\* and\* gr\_multiply\_const\_cc1.i. I…

---

## [ZenTest 4.9.3 Released](https://www.ruby-forum.com/t/zentest-4-9-3-released/236182)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 7:33am UTC](https://www.ruby-forum.com/t/zentest-4-9-3-released/236182 "2013-08-13T07:33:08Z")

</div>

ZenTest version 4.9.3 has been released! home: https://github.com/seattlerb/zentest rdoc: http://zentest.rubyforge.org/ZenTest ZenTest provides 4 different tools: zentest, unit\_diff, autotest, and multiruby. zente…

---

## [Cannot install gems](https://www.ruby-forum.com/t/cannot-install-gems/236017)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [August 13, 2013, 5:27am UTC](https://www.ruby-forum.com/t/cannot-install-gems/236017 "2013-08-13T05:27:34Z")

</div>

Environment: Kubuntu Linux 13.4 | rvm 1.21.3 (stable) | ruby 1.8.7 (2013-06-27 patchlevel 374) \[i686-linux\] I’m following the advice of the authors of /The Rspec Book/, and trying to recreate the environment (ruby-1.8…

---

## [Confusion with Fixnum addition with :inject method](https://www.ruby-forum.com/t/confusion-with-fixnum-addition-with-inject-method/245989)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [August 12, 2013, 11:29pm UTC](https://www.ruby-forum.com/t/confusion-with-fixnum-addition-with-inject-method/245989 "2013-08-12T23:29:06Z")

</div>

I have confusion with the below code: Why does not the output of a is 5 ? a = 4 p \[1\].inject(a,:+) # =\> 5 p a # =\> 4 The below is expected,why not the above? h = {:a =\> 2} \[:a\].inject(h,:delete) p h # =\> {}

---

## [Heroku with iconv error](https://www.ruby-forum.com/t/heroku-with-iconv-error/235962)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 11:24pm UTC](https://www.ruby-forum.com/t/heroku-with-iconv-error/235962 "2013-08-12T23:24:25Z")

</div>

heroku gives the error application error in the browser for import functionality in heroku logs application.rb/ require: cannot load --iconv(load error Could anbody suggest the solution for this

---

## [Session variable in default\_scope](https://www.ruby-forum.com/t/session-variable-in-default-scope/246030)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 10:58pm UTC](https://www.ruby-forum.com/t/session-variable-in-default-scope/246030 "2013-08-12T22:58:09Z")

</div>

I have a project model which I’d like to set the default\_scope to filter out projects where the user doesn’t have permission to view them. Think something along the lines of the projects having a list of teams and com…

---

## [Gqrx in MacPorts](https://www.ruby-forum.com/t/gqrx-in-macports/245986)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 12, 2013, 6:42pm UTC](https://www.ruby-forum.com/t/gqrx-in-macports/245986 "2013-08-12T18:42:15Z")

</div>

I just pushed (r109181 \< Changeset 109181 – MacPorts \>) the MacPorts portfile & patches for gqrx (Gqrx.app); it should be live by around 10:30 AM/US/ET today (Friday, August 9). Please note Alexandru’s posting this m…

---

## [Volk: Am I getting all that's available for ARM?](https://www.ruby-forum.com/t/volk-am-i-getting-all-thats-available-for-arm/236120)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [August 12, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/volk-am-i-getting-all-thats-available-for-arm/236120 "2013-08-12T18:36:24Z")

</div>

Volk only gives me ‘generic’. Is there some component available that I can to add to my system to get more out of it? Neon is detected, so I think that is why I see the ‘generic\_orc’ machine listed. The gory details…

---

## [Duplicating a Paperclip attachment without running processors?](https://www.ruby-forum.com/t/duplicating-a-paperclip-attachment-without-running-processors/246022)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 6:15pm UTC](https://www.ruby-forum.com/t/duplicating-a-paperclip-attachment-without-running-processors/246022 "2013-08-12T18:15:57Z")

</div>

I need to duplicate an object that has an attached Paperclip file. This file (depending on its file-type) may have two to four different styles, with separate file-processing stages required for each. Some of these in…

---

## [Character references](https://www.ruby-forum.com/t/character-references/236178)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/character-references/236178 "2013-08-12T15:27:42Z")

</div>

If I use character reference in html file to represent a character and web server sends the file on browser request, how the browser will decode the character reference? My Nginx web server is configured to not send…

---

## [Pre Registration and Single Passwords](https://www.ruby-forum.com/t/pre-registration-and-single-passwords/236172)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/pre-registration-and-single-passwords/236172 "2013-08-12T15:24:47Z")

</div>

Hello all, I’m new to Rails and have been learning for a couple months now. I am building a simple application that will be used internally by a 20 people within an organization. In the first instance they will nee…

---

## [Volunteers required on a Rails Open Source project](https://www.ruby-forum.com/t/volunteers-required-on-a-rails-open-source-project/236158)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2013, 2:31pm UTC](https://www.ruby-forum.com/t/volunteers-required-on-a-rails-open-source-project/236158 "2013-08-12T14:31:36Z")

</div>

Hi there, I’m Angela from Team Hackety Hack in the RGSoC 2013 programme and we are looking for bilingual volunteers (budding or experienced developers) who would be willing to help us translate the open source project …

---

## [How to move rails application from one server to another server](https://www.ruby-forum.com/t/how-to-move-rails-application-from-one-server-to-another-server/235948)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 12, 2013, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-move-rails-application-from-one-server-to-another-server/235948 "2013-08-12T14:08:48Z")

</div>

Hi all, I am newbie to ruby on rails, i want to move rail application from one server to another servers. can you please help me.

---

## [NGINX serving data via NFS mount](https://www.ruby-forum.com/t/nginx-serving-data-via-nfs-mount/236176)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 12, 2013, 1:50pm UTC](https://www.ruby-forum.com/t/nginx-serving-data-via-nfs-mount/236176 "2013-08-12T13:50:06Z")

</div>

Hi, Can anybody tell me what are the things needed by nginx to forward the request via the NFS mount point?? Changes to the config file as such?? The config file looks like as shown below: http { … … server { lis…

---

## [Global protocol setting for all url helpers?](https://www.ruby-forum.com/t/global-protocol-setting-for-all-url-helpers/236174)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 1:40pm UTC](https://www.ruby-forum.com/t/global-protocol-setting-for-all-url-helpers/236174 "2013-08-12T13:40:09Z")

</div>

I notice there’s the protocol option you can pass to route helpers to ensure that you can use https. I’m just wondering if there’s a setting that can be applied globally so that I don’t have to do this with each indiv…

---

## [I cannot cannot connec the mysql2 gem](https://www.ruby-forum.com/t/i-cannot-cannot-connec-the-mysql2-gem/246015)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 12, 2013, 9:44am UTC](https://www.ruby-forum.com/t/i-cannot-cannot-connec-the-mysql2-gem/246015 "2013-08-12T09:44:08Z")

</div>

rails s /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in require': cannot load such file -- mysql2/mysql2 (LoadError) from /usr/local/share/gems/gems/mysql2-0.3.13/lib/mysql2.rb:8:in\<top (required)\>’ from …

---

## [Problem with rake db:populate on chapter 10.3.2](https://www.ruby-forum.com/t/problem-with-rake-db-populate-on-chapter-10-3-2/236173)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 9:33am UTC](https://www.ruby-forum.com/t/problem-with-rake-db-populate-on-chapter-10-3-2/236173 "2013-08-12T09:33:01Z")

</div>

Hi. I am having problems populating my db. I created a sample\_data.rake file/ When I run rake db:populate it shows exactly what it should show- no errors. But when I go to localhost and try to login the db has not bee…

---

## [Rails Guides publishing delay?](https://www.ruby-forum.com/t/rails-guides-publishing-delay/236170)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 12, 2013, 8:44am UTC](https://www.ruby-forum.com/t/rails-guides-publishing-delay/236170 "2013-08-12T08:44:31Z")

</div>

I was just wondering why the published Rails Getting Started guidehttp://guides.rubyonrails.org/getting\_started.htmlseems to be so far behind the source at Githubhttps://github.com/rails/rails/blob/master/guides/sour…

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

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