[#408616] How to get the User_logged in windows with Sinatra — Mario Ruiz <lists@...>
I need to know the user that is accessing the intranet i created with
[#408620] including FileUtils::Verbose crashes Marshal.dump — Bryan Lockwood <lockwood.bryan@...>
This is a bug I ran into today. I'm not sure who's responsible for =
[#408622] Error with JSON#parse — Love U Ruby <lists@...>
require 'json'
The same with `YAML#load`
[#408624] Why the use of a pound (#) sign with Enumerable — Ruby Student <ruby.student@...>
Team,
[#408634] How do I make lots of classes aware of each other? — "Andrew S." <lists@...>
I'm apparently missing something fundamental in my knowledge of classes
You can use send which as you would expect sends messages to an object. You
Thanks.
[#408654] Backtick probleme — xcoder Blue_fox <lists@...>
Hey guys i got a probleme with this code :
[#408662] How can I add minutes,seconds and hours to a DateTime object? — Love U Ruby <lists@...>
require 'date'
[#408668] Implementing sort/sort! — Kyle Hunter <lists@...>
Hello,
On Wed, Jul 3, 2013 at 4:39 AM, Kyle Hunter <lists@ruby-forum.com> wrote:
[#408680] Difference between Kernel#__callee__ and Kernel#__method__ — Love U Ruby <lists@...>
Is there any Difference between Kernel#__callee__
[#408684] rake drake or ? — Marc Weber <marco-oweber@...>
Is there yet another alternative to drake vs rake?
[#408701] Loading csv giving error — Nithi anand <lists@...>
hi guys I am trying to compare some data so I create one file name
[#408712] Ruby web service with REST support — "Shubhada S." <lists@...>
Hi All,
I would suggest you install the Sinatra gem, and read the
On Fri, Jul 5, 2013 at 12:03 PM, Matthew Kerwin <matthew@kerwin.net.au>wrote:
Robert Klemme wrote in post #1114499:
On Mon, Jul 8, 2013 at 7:42 AM, Shubhada S. <lists@ruby-forum.com> wrote:
I am still confused when to use phusion passenger and when to use rails?
[#408713] Ruby link grabber — xcoder Blue_fox <lists@...>
Hey guys i wanted to write a ruby code to grab all links from html code
[#408724] How do I rescue a program exception in an at_exit block? — Josh Cheek <josh.cheek@...>
I was thinking about how bad I am at reading error messages, and realized
On Fri, Jul 5, 2013 at 4:08 PM, Josh Cheek <josh.cheek@gmail.com> wrote:
[#408734] what is Vector#map2 ? — Love U Ruby <lists@...>
Hi,
[#408745] How can I make ruby read a string of characters per three characters? — Sam Thorpe <lists@...>
I want to input a string of characters, and have it be read by every
[#408757] Parslet: subtrees merged without warning? — Axel Friedrich <lists@...>
Hi,
> Or, in which cases results are lost/merged silently?
Hallo Kaspar,
> Could I easily add some extension code to get a message in this case,
> Probably
> I think, I haven't understood the "philosophy" of Parslet yet. There are
[#408778] Price lookup from sketchup to csv — Nithi anand <lists@...>
I need to perform a lookup on a CSV file.
[#408787] execute_script - selenium-webdriver — Love U Ruby <lists@...>
HTML:
[#408788] A very half-baked idea: setting local variables — Hal Fulton <rubyhacker@...>
I'm sure this nonexistent feature is not in great demand, but there have
[#408795] Well-Grounded Rubyist -- Person class implementation in chapter 4 question — Arslan Farooq <lists@...>
Hi,
[#408801] Help me to understand a Ruby file — Salvo Foru <lists@...>
Hello everyone, I'm a new to the site and I'm just starting to learn
[#408808] how to compile .so on windows — Dimmak SDI <lists@...>
Plese help me!
[#408812] create variables depending on counter — stefan heinrich <lists@...>
Hi community,
Hi Robert and Marcus,
Ok i got it. Thank you so much.
[#408819] search a string with ruby then read what comes after the string in the same line — dJD col <lists@...>
I am trying to look for a a given string in a text and once i find the
[#408842] Why can't I just subtract in a loop without restating the variable? — Wayne Brisette <wbrisett@...>
I have some code that uses a counter. In certain circumstances, I have to s=
[#408854] execute commands within SMTP email code: send content in variables and not actual variables — dJD col <lists@...>
I am trying to send an email using the code below. I am able to send the
I was able to print the values of the variables t and s
[#408894] phusion passenger + uninitialised constant+ NameError — "Shubhada S." <lists@...>
Hi,
[#408906] how to upgrade to the latest version of ruby ? — Love U Ruby <lists@...>
I am using RVM with Ubuntu13.04. Installed version of Ruby is :
[#408911] Module Confusion — "Michael W." <lists@...>
The below code works. Question though. How does add_to_stack acess the
[#408925] closing a socket while another thread is in an IO.select() call on it — Graham Menhennitt <graham@...>
Hello Rubyists,
[#408927] Ticket for eurucamp 2013 — Jens Hausherr <jabbrwcky@...>
Hi Rubyists,
[#408937] Get part of matrix — "Diego N." <lists@...>
Hi!
[#408944] Kernel.caller Performance Across Different Ruby Versions — Peter Giacomo Lombardo <lists@...>
I wrote a quick Ruby script to benchmark Kernel.caller using ruby-prof.
[#408955] Iteration anomalu — "Andrew D." <lists@...>
Surely this is a FAQ but I can't figure out how I would search for an
[#408963] Allowing a character through Addressable::URI unescaped — Joel Pearson <lists@...>
I have some code which used to work a few months ago but appears to have
[#408970] Install RVM on Solaris — "Chamila W." <lists@...>
I tried installing RVM on Solaris using command
[#408976] TryRuby Popup Problems — "Jayant S." <lists@...>
Hello there, my name is Jay. I wanted to introduce myself because I
[#408990] Hash#update - need tweaks — Love U Ruby <lists@...>
I am in a situation,where I have to the below kind of operations.
[#408994] Ruby Debugger — Alphonse 23 <lists@...>
Could anybody recommend me a good Ruby Debugger. Preferably one that
[#408995] ActiveSupport undercore behaviour — Serguei Cambour <lists@...>
I tried to use ActiveSupport 'underscore' method to convert some
tamouse m. wrote in post #1116149:
I am on the phone, but my guess is that the quotes and backslashes are
I changed as follows and it works for the first nest level for the
On Sun, Jul 21, 2013 at 7:03 AM, Serguei Cambour <lists@ruby-forum.com>wrote:
[#409008] Unsubscribe? — James Murphy <jamurphy84@...>
Hi all,
[#409031] tap { break } idiom deserves its own Kernel method? — Andy Lowry <lists@...>
I use this idiom from time to time:
On Mon, Jul 22, 2013 at 7:37 PM, Andy Lowry <lists@ruby-forum.com> wrote:
On Mon, Jul 22, 2013 at 10:37 AM, Andy Lowry <lists@ruby-forum.com> wrote:
I just used the pattern again, and this time it's a much simpler example
[#409046] Question on while loop to script — "Talal B." <lists@...>
Hi guys,
[#409047] using qsub from Ruby script produces "command not found" — Thomas Luedeke <lists@...>
I am running a script that runs multiple cases on an engineering code.
[#409052] How can we create instance method and class methods at runtime in ruby? — Love U Ruby <lists@...>
How can we create instance method and class methods at runtime in ruby?
Sorry for creating the confusions:-
[#409064] how to create structure like bellow — Expert Alart <lists@...>
Hi...
[#409072] Link To Masses Of External Data In Openoffice? — "Austin J." <lists@...>
This is what I want to do.
tamouse m. wrote in post #1116598:
tamouse m. wrote in post #1116750:
tamouse m. wrote in post #1116838:
On Sat, Jul 27, 2013 at 5:55 AM, Austin J. <lists@ruby-forum.com> wrote:
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
Am 27.07.2013 21:04, schrieb Austin J.:
unknown wrote in post #1116906:
Am 27.07.2013 22:12, schrieb Austin J.:
unknown wrote in post #1116910:
[#409073] class <=> module — Bráulio Bhavamitra <lists@...>
Hello all,
Am 24.07.2013 01:04, schrieb Br叩ulio Bhavamitra:
On Wed, Jul 24, 2013 at 1:10 AM, <sto.mar@web.de> wrote:
Am 24.07.2013 14:35, schrieb Josh Cheek:
[#409104] Ruby newbie question on Methods (NoMethoderror) — "Crispian A." <lists@...>
I have recently started learning ruby and so I am writing a small little
Am 25.07.2013 12:22, schrieb Crispian A.:
unknown wrote in post #1116651:
[#409119] replace words using gsub — noterrain mee <lists@...>
New to ruby! Body is a string, i am using the code directly below. I am
The k is an iterator. Let's use another example here to demonstrate:
[#409134] Learning how to create and save .rbs — Joseph Bershas <lists@...>
So I am trying to create and run an .rb, a basic stepping stone.
[#409139] How to install Ruby 2.0.0 locally - stuck — Thomas Luedeke <lists@...>
I previously installed Ruby 1.8.7 locally on my HP-UX Unix system,
[#409152] Calculate input - numbers — Marc Heiler <lists@...>
Hi
[#409161] Difference between Kernel#caller and Kernel#caller_locations — Love U Ruby <lists@...>
Hi,
[#409169] Love U Ruby — Dave Aronson <rubytalk2dave@...>
On Sat, Jul 27, 2013 at 5:13 PM, Ryan Davis <ryand-ruby@zenspider.com>
On Sun, Jul 28, 2013 at 2:26 AM, Dave Aronson <rubytalk2dave@davearonson.com
[#409170] Working through Ch.10 for learning to program 2.0 (Chris Pine) — JD JD <lists@...>
So, I have been working through this book, and have been doing ok up
I tried this and came up with a one-liner that seems to do it. It sorts the
Am 29.07.2013 16:43, schrieb Harry Kakueki:
On Tue, Jul 30, 2013 at 2:34 AM, <sto.mar@web.de> wrote:
[#409207] Losing values upon converting object to Array — Rochit Sen <lists@...>
Hi All,
[#409221] How to check an input IS an integer ? — Captain Ishido <ishido7@...>
Hi everyone !
[#409225] Question about arrays/hash — Jenn Fo <lists@...>
Hi All:
[#409234] Parsing Data from Row using Regexp — Joel Dezenzio <lists@...>
Hi All,
[#409266] Is there a good port of Ruby for Solaris 10? — Rick Carrick <lists@...>
Does anyone know of a place to DL Ruby for Solaris 10?
[#409267] Method tracker - Need assistance — Kenny Meyer <kenny@...>
I would like to write an includable method tracker, which logs about added
Re: [ANN] Rails 3.2.14.rc1 has been released!
The right release date will be Monday, on July 15, 2013
On Friday, July 12, 2013 9:33:00 PM UTC-3, Rafael Mendon=C3=A7a Fran=C3=A7a=
wrote:
>
> Hi everyone,
>
> I am happy to announce that Rails 3.2.14.rc1 has been released. If no=20
> regressions are found I will release 3.2.14 final final this Thursday, on=
=20
> July 11, 2013. If you find one, please [Open an Issue on GitHub](
> https://github.com/rails/rails/issues/new) and mention me on it, so that=
=20
> I can fix it before the final release.
>
> ## CHANGES since 3.2.13
>
> *Action Mailer*
>
> No changes.
>
> *Action Pack*
>
> * Merge `:action` from routing scope and assign endpoint if both=20
> `:controller`
> and `:action` are present. The endpoint assignment only occurs if=20
> there is
> no `:to` present in the options hash so should only affect routes=20
> using the
> shorthand syntax (i.e. endpoint is inferred from the the path).
>
> Fixes #9856
>
> *Yves Senn*, *Andrew White*
>
> * Always escape the result of `link_to_unless` method.
>
> Before:
>
> link_to_unless(true, '<b>Showing</b>', 'github.com')
> # =3D> "<b>Showing</b>"
>
> After:
>
> link_to_unless(true, '<b>Showing</b>', 'github.com')
> # =3D> "<b>Showing</b>"
>
> *dtaniwaki*
>
> * Use a case insensitive URI Regexp for #asset_path.
>
> This fix a problem where the same asset path using different case are=
=20
> generating
> different URIs.
>
> Before:
>
> image_tag("HTTP://google.com")
> # =3D> "<img alt=3D\"Google\" src=3D\"/assets/HTTP://google.com\"=
/>"
> image_tag("http://google.com")
> # =3D> "<img alt=3D\"Google\" src=3D\"http://google.com\" />"
>
> After:
>
> image_tag("HTTP://google.com")
> # =3D> "<img alt=3D\"Google\" src=3D\"HTTP://google.com\" />"
> image_tag("http://google.com")
> # =3D> "<img alt=3D\"Google\" src=3D\"http://google.com\" />"
>
> *David Celis + Rafael Mendon=C3=A7a Fran=C3=A7a*
>
> * Fix explicit names on multiple file fields. If a file field tag has
> the multiple option, it is turned into an array field (appending `[]`=
),
> but if an explicit name is passed to `file_field` the `[]` is not
> appended.
> Fixes #9830.
>
> *Ryan McGeary*
>
> * Fix assets loading performance in 3.2.13.
>
> Issue #8756 uses Sprockets for resolving files that already exist on=
=20
> disk,
> for those files their extensions don't need to be rewritten.
>
> Fixes #9803.
>
> *Fred Wu*
>
> * Fix `ActionController#action_missing` not being called.
> Fixes #9799.
>
> *Janko Luin*
>
> * `ActionView::Helpers::NumberHelper#number_to_human` returns the numbe=
r=20
> unaltered when
> the units hash does not contain the needed key, e.g. when the number=
=20
> provided is less
> than the largest key provided.
>
> Examples:
>
> number_to_human(123, units: {}) # =3D> 123
> number_to_human(123, units: { thousand: 'k' }) # =3D> 123
>
> Fixes #9269.
> Backport #9347.
>
> *Michael Hoffman*
>
> * Include I18n locale fallbacks in view lookup.
> Fixes GH#3512.
>
> *Juan Barreneche*
>
> * Fix `ActionDispatch::Request#formats` when the Accept request-header=
=20
> is an
> empty string. Fix #7774 [Backport #8977, #9541]
>
> *Soylent + Maxime R=C3=A9ty*
>
> *Active Model*
>
> No changes.
>
> *Active Record*
>
> * Do not shallow the original exception in `exec_cache` on PostgreSQL=
=20
> adapter.
>
> Fixes #11260.
>
> *Rafael Mendon=C3=A7a Fran=C3=A7a*
>
> * Fix `ActiveRecord::Store` incorrectly tracking changes of its=20
> attributes.
> Fixes #10373.
>
> *Janko Marohni=C4=87*
>
> * Fix a bug that prevented the use of the default STI inheritance colum=
n
> (ActiveRecord::Base.inheritance_column =3D 'some_column'.)
>
> *chapmajs + Takehiro Adachi*
>
> * Fix mysql2 adapter raises the correct exception when executing a quer=
y=20
> on a
> closed connection.
>
> *Yves Senn*
>
> * Fixes bug where `Company.new.contract_ids` would incorrectly load
> all non-associated contracts.
>
> Example:
>
> company =3D Company.new # Company has many :contracts
>
> # before
> company.contract_ids # =3D> SELECT ... WHERE=20
> `contracts`.`company_id` IS NULL
>
> # after
> company.contract_ids # =3D> []
>
> *Jared Armstrong*
>
> * Fix the `:primary_key` option for `has_many` associations.
> Fixes #10693.
>
> *Yves Senn*
>
> * fixes bug introduced by #3329. Now, when autosaving associations,
> deletions happen before inserts and saves. This prevents a 'duplicat=
e
> unique value' database error that would occur if a record being=20
> created had
> the same value on a unique indexed field as that of a record being=20
> destroyed.
>
> Backport of #10417
>
> *Johnny Holton*
>
> * Fix that under some conditions, Active Record could produce invalid=
=20
> SQL of the sort:
> "SELECT DISTINCT DISTINCT".
>
> Backport of #6792.
>
> *Ben Woosley*
>
> * Require `ActiveRecord::Base` in railtie hooks for rake_tasks, console=
=20
> and runner to
> avoid circular constant loading issues.
>
> Backport #7695.
>
> Fixes #7683 and #882
>
> *Ben Holley*
>
> * Maintain context for joins within ActiveRecord::Relation merges.
> Backport #10164.
>
> *Neeraj Singh + Andrew Horner*
>
> * Make sure the `EXPLAIN` command is never triggered by a `select_db`=
=20
> call.
>
> *Daniel Schierbeck*
>
> * Revert changes on `pluck` that was ignoring the select clause when th=
e=20
> relation already
> has one. This caused a regression since it changed the behavior in a=
=20
> stable release.
>
> Fixes #9777.
>
> *Rafael Mendon=C3=A7a Fran=C3=A7a*
>
> * Confirm a record has not already been destroyed before decrementing=
=20
> counter cache.
>
> *Ben Tucker*
>
> * Default values for PostgreSQL bigint types now get parsed and dumped=
=20
> to the
> schema correctly.
> Backport #10098.
>
> *Erik Peterson*
>
> * Removed warning when `auto_explain_threshold_in_seconds` is set and t=
he
> connection adapter doesn't support explain.
> This is causing a regression since the Active Record Railtie is tryin=
g=20
> to
> connect to the development database in the application boot.
>
> *Rafael Mendon=C3=A7a Fran=C3=A7a*
>
> * Do not reset `inheritance_column` when it's set explicitly.
> Backport of #5327.
>
> *kennyj + Fred Wu*
>
> * Fix a problem wrong exception is occured
> when raising no translatable exception in PostgreSQL.
>
> *kennyj*
>
> * Resets the postgres search path in the structure.sql after the=20
> structure
> is dumped in order to find schema_migrations table when multiples=20
> schemas
> are used.
> Fixes #9796.
>
> *Juan M. Cuello + Dembskiy Alexander*
>
> * Reload the association target if it's stale. `@stale_state` should be=
=20
> nil
> when a model isn't saved.
> Fixes #7526.
>
> *Larry Lv*
>
> * Don't read CSV files during execution of `db:fixtures:load`. CSV=20
> support for
> fixtures was removed some time ago but the task was still loading=20
> them, even
> though later the code was looking for the related yaml file instead.
>
> *kennyj*
>
> *Active Resource*
>
> * Fixes an issue that ActiveResource models ignores=20
> ActiveResource::Base.include_root_in_json.
> Backported from the now separate repo rails/activeresouce.
>
> *Xinjiang Lu*
>
> *Active Support*
>
> * Make `Time.at_with_coercion` retain the second fraction and return=20
> local time.
>
> Fixes #11350
>
> *Neer Friedman*, *Andrew White*
>
> * Fix `ActiveSupport::TaggedLogging` incorrectly providing program name=
=20
> the same as log message
> even when block is not provided.
>
> *Carson Reinke*
>
> * Override `Time.at` to support the passing of Time-like values when=20
> called with a single argument.
>
> *Andrew White*
>
> * Revert the changes on unicode character encoding from=20
> `ActiveSupport::JSON.encode`.
> This was causing a regression where the resulting string is always=20
> returning UTF-8.
> Also it changes the behavior of this method on a stable release.
> Fixes #9498.
>
> *Rafael Mendon=C3=A7a Fran=C3=A7a*
>
> * Fix `ActiveSupport::TimeZone.parse` when time is at a local DST jump.
> Fixes #9678.
>
> *Andrew White*
>
> *Railties*
>
> * Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
> `rails benchmarker`.
> Fixes #4938.
> Backport rails/rails-perftest#2.
>
> *Dmitry Vorotilin + Yves Senn*
>
> * Add support for runner hook.
>
> Backport #7695.
>
> *Ben Holley*
>
> * Fixes bug with scaffold generator with `--assets=3Dfalse=20
> --resource-route=3Dfalse`.
> Fixes #9525.
>
> *Arun Agrawal*
>
> *Full listing*
>
> To see the full list of changes, [check out all the commits on GitHub](
> https://github.com/rails/rails/compare/v3.2.13...v3.2.14.rc1).
>
> ## SHA-1
>
> If you'd like to verify that your gem is the same as the one I've=20
> uploaded, please use these SHA-1 hashes:
>
> * 1b8d20d39c9c5bb2fa56c835fe564bfcf6f55c66 actionmailer-3.2.14.rc1.gem
> * ccf1df0c3daa92e5e72ec11f3399167e16d2a48f actionpack-3.2.14.rc1.gem
> * 263cbf1ce202095f92648171c6be92eca85837e0 activemodel-3.2.14.rc1.gem
> * 51de13da5e9c9c9ccdd7f7bd4c2bfb3e1dd3dbb1 activerecord-3.2.14.rc1.gem
> * da709adcc9f56364e0d697ea10e4acc9af48068a activeresource-3.2.14.rc1.gem
> * e45cd0115705514d00b1be917f06092af389fe5d activesupport-3.2.14.rc1.gem
> * 9fd0569cdee1ca0ab7b170f1c40c6c48304ec29e rails-3.2.14.rc1.gem
> * a2d485229708af4cdbbdaef72ef6f756fb1b1341 railties-3.2.14.rc1.gem
>
> Thank you everyone!
>
> Rafael Mendon=C3=A7a Fran=C3=A7a
> http://twitter.com/rafaelfranca
> https://github.com/rafaelfranca
> =20