[#388437] How to unsubscribe? — Асет Асет <asetpochta@...>
SGksCgpJIHdhbnQgdG8gY3JlYXRlIG9uZSBtYWlsYm94IGZvciB0aGlzIG1haWxpbmcgbGlzdCBv
This seems to come up fairly frequently
[#388461] Need some help with regexp — Eyal Eizenberg <eyal.eizenberg@...>
Hello, I need some help with regex
You are getting that because you have spaces in it. You can get the same
Is there a way to do it so that the $& will contain "MARCOCHEN"?
On Mon, Oct 3, 2011 at 9:06 AM, Eyal Eizenberg
[#388468] Need some help with hashes, don't know what fails — Antonio Fernández vara <antoniofernandezvara@...>
Hi all,
[#388477] Error when installing gem... — "Darryl L. Pierce" <mcpierce@...>
I'm working on a project and am bundling up my APIs into a gem for
[#388478] Error when installing gem... — "Darryl L. Pierce" <mcpierce@...>
I'm working on a project and am bundling up my APIs into a gem for
[#388484] ruby-doc.org has been updated — James Britt <james.britt@...>
Ruby-doc.org has been updated.
James Britt <james.britt@gmail.com> wrote:
The new styling is a nice. And no more frames, definite upgrade!
On Mon, Oct 3, 2011 at 1:42 PM, James Britt <james.britt@gmail.com> wrote:
[#388485] net ping is in error in Windows 7 OS — Edward QU <ajax.htm@...>
Dear All
[#388492] Operator Overloading — Thescholar Thescholar <thescholar@...>
Let's suppose I have a class like this one and then I create two
On 10/04/2011 01:11 AM, Thescholar Thescholar wrote:
Darryl Pierce wrote in post #1024950:
On 10/04/2011 10:03 AM, Brian Candler wrote:
On Tue, Oct 4, 2011 at 3:53 PM, Darryl L. Pierce <mcpierce@gmail.com> wrote:
On 10/04/2011 11:11 AM, Adam Prescott wrote:
My understanding (probly flawed) is
On Tue, Oct 4, 2011 at 5:31 PM, Darryl L. Pierce <mcpierce@gmail.com> wrote=
2011/10/4 Jes=C3=BAs Gabriel y Gal=C3=A1n <jgabrielygalan@gmail.com>:
2011/10/4 Bartosz Dziewo=C5=84ski <matma.rex@gmail.com>:
2011/10/4 Jes=C3=BAs Gabriel y Gal=C3=A1n <jgabrielygalan@gmail.com>:
[#388499] help with university assignment — Nikita Kuznetsov <moog_master@...>
So, we are supposed to create an xml-rpc based event manager using 2-3
[#388533] Calculating prayer times — Dwayne Henderson <its.code.in.here@...>
Hello!
On Tue, Oct 4, 2011 at 1:02 PM, Dwayne Henderson <its.code.in.here@gmail.com
[#388537] ERB or Haml? — Isaac Sanders <isaacbfsanders@...>
ERB or Haml?
[#388546] after gem released v 0.8.1 — Roger Pack <rogerpack2005@...>
Hello all.
>> After includes the "after" command line utility
[#388558] question about method — "Joseph S." <musician_joe777@...>
AC = 14
[#388575] How to use 'net/ssh' to sudo su - — "Ivan C." <ivanchung84@...>
Hi,
[#388580] Best way to compare lines in 2 files — Guillaume Bloss <elysah@...>
Hi everybody,
[#388595] Read thru Csv file and store it in variables — ideal one <idealone5@...>
HI All,
On Wed, Oct 5, 2011 at 7:25 PM, ideal one <idealone5@hotmail.com> wrote:
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Wed, Oct 5, 2011 at 11:14 PM, ideal one <idealone5@hotmail.com> wrote:
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
[#388601] How to output an instance's type — Viaduct Productions <lists@...>
Hiya folks.
By type you want the variables class ?
Hi Kassym. Thanks for the post.
Viaduct Productions wrote in post #1025201:
>How do I output the type of a variable?
Hi Luke. Thanks for the reply.=20
A: Because it messes with the readability of the reply, since the
Some devs from a very long time ago (not a Star Wars reference), think =
On Thu, Oct 6, 2011 at 3:42 PM, Viaduct Productions
Am I right in thinking that you are using trimmed quotes with inline
[#388614] Errors while installing sqlite3 for Rails — Ruby Student <ruby.student@...>
Hello Boys and Girls,
[#388625] socket read, write when string found. — Bigmac Turdsplash <i8igmac@...>
I know exactly what i need to do, but i cant do it properly...
[#388628] comparing elements in same array — Thomas Le <metasmorph@...>
Hello,
On Thu, Oct 6, 2011 at 9:06 AM, Thomas Le <metasmorph@gmail.com> wrote:
Sorry .. this is my sample code
On Thu, Oct 6, 2011 at 10:02 AM, Thomas Le <metasmorph@gmail.com> wrote:
[#388631] NameError problem — Paul Roche <prpaulroche@...>
Hi. I'm sure it's been asked before, but I can't find the specific
[#388648] a dream: gem require auto-installer — Regis d'Aubarede <regis.aubarede@...>
Hello,
> You should try Bundler ...
On Thu, Oct 6, 2011 at 3:19 PM, Regis d'Aubarede
[#388650] Cheapest way to host low-traffic small-footprint Rails app? — Intransition <transfire@...>
I have a commercial Radiant-based website that I manage for a small-
On Thu, Oct 6, 2011 at 2:47 PM, Intransition <transfire@gmail.com> wrote:
On Oct 6, 2011, at 8:53 AM, Phillip Gawlowski wrote:
What do people consider "cheap"? You want scalability? Support? =20
On Oct 6, 2011, at 9:58 AM, Viaduct Productions wrote:
Dreamhost stores your passwords in plain text, and considers it a feature.
[#388688] Aumation the copyright text — Nike Mike <thillaibooks@...>
How to automate the copyright text for each newly created files in ruby
With the wide variety of licenses and how passionately people feel
[#388704] Simply question — itankgo itankgo <itankgo@...>
Can't understand:
[#388715] don't understand -r — Intransition <transfire@...>
Can anyone explain to me why, with RUBYOPT="-rubgems", this works:
Thomas Sawyer wrote in post #1025489:
[#388721] RUBY requirements — led dap <fullchaoz32@...>
hi im new in ruby what tools will i need to start my project development
[#388728] How to make Saas application? Is it possible? — Асет Орымбаев <asetpochta@...>
SGkgZXZlcnlib2R5IQoKSSB3YW50IHRvIGtub3csIGlzIGl0IHBvc3NpYmxlIHRvIGNyZWF0ZSBT
"=D0=90=D1=81=D0=B5=D1=82 =D0=9E=D1=80=D1=8B=D0=BC=D0=B1=D0=B0=D0=B5=D0=B2=
SGkgQnJpYW4sCgpUaGFua3MgZm9yIGFuc3dlciEgQlRXLCBkbyB5b3Uga25vdyB3aGF0IHByb3Rv
[#388741] What messaging layer to choose? — Асет Орымбаев <asetpochta@...>
SGkgZXZlcnlib2R5IQoKSSBuZWVkIGFkdmljZSBvbiBjaG9vc2luZyBtZXNzYWdpbmcgbGF5ZXIg
[#388755] open of web page fails — Joe Collins <joec_49@...>
here is the URL (spans 2 lines) and it fails with a bad uri message
[#388756] regex an array? — skolo pen <skolopen@...>
I am having troubles trying to regex the following array to only include
[#388795] rdoc 3.10 Released — Eric Hodel <drbrain@...7.net>
* https://github.com/rdoc/rdoc
[#388799] Ruby and MySQl — blue orchid <jeny.joshi@...>
UI.menu("Plugins").add_item('Condition Ratingjhj') { Jeny.paint }
[#388811] Basic OO Class question — "Kevin E." <kellwood@...>
Hi All
[#388812] require -- looking in rubygems, now "." — "charles a." <charles.agriesti@...>
irb
Thank you very much for taking time to reply sir. I am watching your
Thanks very much again. I really appreciate the help.
[#388814] TestR 14.0.0 (was test-loop) — "Suraj N. Kurapati" <sunaku@...>
Hello,
[#388817] Learning Ruby — Jim Adams <lockdownking@...>
Can someone please email me some PDF books or videos to learn Ruby?
[#388827] Check for boolean status in ruby — ideal one <idealone5@...>
Hi all,
[#388843] scheduler and thread — lover ruby <huynh_ngoc_5@...>
Hi
On 11/10/11 11:20, lover ruby wrote:
Sam Duncan wrote in post #1025958:
On Tue, Oct 11, 2011 at 8:08 AM, lover ruby <huynh_ngoc_5@yahoo.com> wrote:
[#388850] Http 0.0.1 - talk to the web humanely — Tony Arcieri <tony.arcieri@...>
Http is on Github: https://github.com/tarcieri/http
Tony Arcieri wrote:
What about the rest-client gem? Isn't this mostly the same?
[#388855] why does `a + f b` not parse? — Martin DeMello <martindemello@...>
ruby-1.9.2-p0 > 2 + sqrt 5
On Tue, Oct 11, 2011 at 06:32, Wayne Brissette <waynefb@earthlink.net> wrote:
On Tue, Oct 11, 2011 at 1:02 PM, Dave Aronson
Phillip Gawlowski wrote in post #1026042:
Yes, I think we all know that; the question is, why does 2 + sqrt(5)
Don't top post, please.
2011/10/11 Phillip Gawlowski <cmdjackryan@gmail.com>:
[#388869] Learning Ruby question regarding Looping — Dennis Nguyen <zerofiftysix@...>
Hey there, I'm new to this forums as well as being new to Ruby. I
[#388875] array of hashes — Mario Ruiz <tcblues@...>
I have an array of hashes like this:
[#388881] gem directory not find — Sam Porwal <pawan.porwal@...>
Hi All,
[#388921] Announcing Ruby-related content on minituku.net — Hidekazu Nozaka <hide@...>
Dear ruby-talk readers,
On Wed, Oct 12, 2011 at 21:46, Hidekazu Nozaka <hide@netlab.jp> wrote:
On 10/17/2011 03:28 AM, Dave Aronson wrote:
Thank You very much for the input!
[#388925] How to run a configure script from ruby and check for errors — Marc Heiler <shevegen@...>
Hi.
[#388928] Reading CSV files into arrays and then comparing — Khalid Rajput <khalidaslam@...>
Hi,
[#388945] What’s the best way of checking if an argument has been given or not? — Nikolai Weibull <now@...>
Hi!
...probably not the *best* way, but this works:
You can use this syntax, too. "args" becomes an array of all arguments given.
On Fri, Oct 14, 2011 at 15:29, Bartosz Dziewo=C5=84ski <matma.rex@gmail.com=
You could do it as a wrapper:
On Fri, Oct 14, 2011 at 15:51, Chris Hulan <chris.hulan@gmail.com> wrote:
You said you didn't want to manually do it, this lets the interpreter
Hmm, if you really don't want to use the splat *args, you could create a
luke gruber [2011-10-14 17:15]:
On Fri, Oct 14, 2011 at 17:31, Jens Wille <jens.wille@uni-koeln.de> wrote:
[#388946] Signal handling cross-platform — John Halfpenny <mynameisjohn@...>
Hi everyone,
[#388947] Beginning — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
Hi.
On Fri, Oct 14, 2011 at 08:29, Junayeed Ahnaf Nirjhor
[#388963] Ruby developer in Dublin — Antonio Ruzzelli <antonio.ruzzelli@...>
Apologies as this is probably in the wrong place.
[#388974] Help figuring out appropriate naming scheme (previously 'wedge') — Intransition <transfire@...>
Bare with me as I try to articulate this.
On Fri, Oct 14, 2011 at 5:01 PM, Intransition <transfire@gmail.com> wrote:
[#388987] Ruby functions to split numbers — ideal one <idealone5@...>
HI All,
ruby-1.9.2-p290 :010 > a = "01234567"
Ian M. Asaff wrote in post #1026669:
[#389011] deadlock producer consumer — rubix Rubix <aggouni2002@...>
Hi
[#389025] writing a poem backwards or in reverse order — Teresa Nguyen <s-unguyen2@...>
i would like to write a poem using nano and through ruby I would like to
On Sun, Oct 16, 2011 at 2:04 AM, Teresa Nguyen
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Sun, Oct 16, 2011 at 7:15 PM, teresa nuagen
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Sat, Oct 15, 2011 at 7:04 PM, Teresa Nguyen
Josh Cheek wrote in post #1026925:
[#389026] 'gem install' help please — Kaye Ng <sbstn26@...>
Hi.
Kaye Ng wrote in post #1026815:
Hello Luis.
On Oct 17, 2011, at 6:08 AM, Kaye Ng wrote:
Adam Stegman wrote in post #1027138:
[#389027] Shoebox hacked! — "Abu Y." <abuyoav@...>
Hi,
On Sun, Oct 16, 2011 at 10:51 AM, Abu Y. <abuyoav@gmail.com> wrote:
[#389037] Ruby and threading — Carter Cheng <cartercheng@...>
Hello,
On Sun, Oct 16, 2011 at 3:50 AM, Carter Cheng <cartercheng@gmail.com> wrote:
Hi Josh,
On Sun, Oct 16, 2011 at 4:03 AM, Josh Cheek <josh.cheek@gmail.com> wrote:
On Wed, Oct 19, 2011 at 2:11 AM, Josh Cheek <josh.cheek@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Oct 19, 2011 at 7:56 AM, Sandor Sz=FCcs <sandor.szuecs@fu-berlin.de=
Is there any big projects using jRuby? It seems that jRuby is available
On Sun, Oct 16, 2011 at 12:09 PM, Alexey Petrushin <axyd80@gmail.com> wrote:
On Sun, Oct 16, 2011 at 7:59 PM, Josh Cheek <josh.cheek@gmail.com> wrote:
[#389045] 'compiling' ruby code into an msdos exe file — Joe Collins <joec_49@...>
Anybody done this? I would like to 'compile' ruby for packaging
[#389051] How to unit test COBOL using Ruby — Balakrishnan Srinath <balakrishnansrinath@...>
Hello,
[#389081] I fixed this - but why does it work? — "Edwin G." <edwin.galloway@...>
I am doing an exercise in a tutorial, which is to get this code to run:
[#389100] IDE — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
On Mon, Oct 17, 2011 at 04:45:33PM +0900, Junayeed Ahnaf Nirjhor wrote:
[#389103] error in watir installation — Lisa Andia <lisandia@...>
i need install ruby in my computer, is windows 7 32-bits and internet
[#389125] noobie question - how do I run this command-line program? — Jon Crowell <impersonal@...>
Hi. I downloaded a tiny ruby app called EarGTD and I am trying to get
On Mon, Oct 17, 2011 at 2:19 PM, Jon Crowell <impersonal@joncrowell.org>wrote:
Wow, thanks. That was a perfect explanation for the behavior I
[#389162] Return — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
On 10/18/2011 01:26 PM, Junayeed Ahnaf Nirjhor wrote:
On Tue, Oct 18, 2011 at 8:29 PM, Darryl L. Pierce <mcpierce@gmail.com> wrot=
[#389183] unable to launch a application with mysql — "Allan T." <titoleite4@...>
I am new in ruby development and in the first lines, shit happens :D
[#389201] why doesn't this work? — raphael teller <raphael.teller@...>
hey, I am a C programmer that decided to learn Ruby. I got some
In this case, Array.new isn't needed.
[#389217] efficient way to catch & continue on exception — Kassym Dorsel <k.dorsel@...>
I have the following :
[#389222] Moving files into alphabetical directories — simon harrison <simonharrison.uk@...>
Hi. Let's say I have an array like this:
On Wed, Oct 19, 2011 at 9:53 PM, simon harrison
On Oct 19, 4:47=A0pm, Jes=FAs Gabriel y Gal=E1n <jgabrielyga...@gmail.com>
On Oct 19, 2011, at 6:43 PM, Yossef Mendelssohn wrote:
On Thu, Oct 20, 2011 at 1:27 PM, Dan Nachbar <dan@nachbar.com> wrote:
[#389242] Call method on attribute update — Jason Lillywhite <jason.lillywhite@...>
Hello,
[#389245] Switch case with break statement — "Manju M." <manjuvpm12@...>
Can anyone help me to write the following codes in ruby?
[#389263] rubygems install via rvm on ubuntu 11.10 — "Jason W." <jason.wrench@...>
Hi
[#389269] wrapping object and method_missing — James French <James.French@...>
Hi,
[#389288] When is a method known to Ruby? — Marc Heiler <shevegen@...>
Hi.
[#389297] special characters in identifier — "DM W." <dwhelan@...>
I am attempting to create data via a ruby script. One of the require
[#389300] Creating threads can be slow? — "wam r." <wamrewam@...>
Hello!
[#389311] global variable -- last expression — "basha c." <cooolbasha@...>
Hi,
[#389319] Can't run rake task — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
[#389325] macruby versus MRI 1.9 — Carter Cheng <cartercheng@...>
I was wondering what the differences between these two releases are. I was
[#389330] Error with Rake — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
[#389340] security thesis advice — Jorge Bo <jorgebo10@...>
Hi,
Hello,
On Mon, Oct 24, 2011 at 12:23 AM, Michal Suchanek <hramrach@centrum.cz> wrote:
I have actually recently become quite interested in these sorts of topics.
On 10/22/2011 11:55 PM, Jorge Bo wrote:
[#389344] rubypython 0.5.3 Released — Austin Ziegler <halostatue@...>
rubypython version 0.5.3 has been released!
On Sun, Oct 23, 2011 at 10:10:26AM +0900, Austin Ziegler wrote:
On Mon, Oct 24, 2011 at 05:13:18AM +0900, Ryan Davis wrote:
[#389346] installing RedCloth — Kaye Ng <sbstn26@...>
Hi guys!
Those paths suggest that you may be using Ruby 1.9.1, which has lots
[#389352] Ruby solar calculations — Dwayne Henderson <its.code.in.here@...>
Hi!
[#389368] Radix v2.0.1 released — transfire@...
Radix 2.0.1 has been released.
[#389377] ASCII character help! — Ray DarkScythe <scytherdarkscyther@...>
Hi, I am new to ruby and following some tutorial of "Daniel Carrera"
[#389387] how can i find users mac address — "Rajesh B." <rajesh.13kits@...>
Hi all,
[#389429] Unusual behavior of a Ruby hash — Edmond Kachale <kachaleedmond@...>
Rubysters,
On Tue, Oct 25, 2011 at 3:50 PM, Edmond Kachale <kachaleedmond@gmail.com> w=
In fact, Jesus should be the program saviour (i'm kidding).
[#389436] JRuby 1.6.5 Released — Thomas E Enebo <tom.enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.6.5.
[#389442] DNote v1.7.0 released — transfire@...
DNote 1.7.0 has been released.
[#389450] How to correctly handle partial write in Ruby Sockets? — Grigory Petrov <grigory.v.p@...>
TCP sockets are streams, not messages, so berkeley sockets send()
On Wed, Oct 26, 2011 at 9:01 AM, Grigory Petrov <grigory.v.p@gmail.com> wro=
[#389455] How to SSH interactive Session — KING SABRI <king.sabri@...>
Good day everyone
I'd suggest using Net::SSH::Telnet. This is a wrapper around Net::SSH
[#389465] Modify only a .rb file, but not other .rb files, while still extending core classes? — Marc Heiler <shevegen@...>
Given is a small .rb file.
On Wed, Oct 26, 2011 at 4:04 PM, Marc Heiler <shevegen@linuxmail.org> wrote=
2011/10/26 Jes=C3=BAs Gabriel y Gal=C3=A1n <jgabrielygalan@gmail.com>
On Wed, Oct 26, 2011 at 4:28 PM, Peter Vandenabeele
[#389490] scoping of special variables — Carter Cheng <cartercheng@...>
Hello,
[#389501] Kernel on Ruby 1.9.2 — Mario Ruiz <tcblues@...>
Now it seems like Kernel it is not working the same way
[#389506] @_result object in Ruby 1.9.2 — Mario Ruiz <tcblues@...>
I was using @_result in Ruby 1.8.7 but it seems that doesn't exist
[#389507] RCR: output on non-main thread that die from an unrescued exception — Roger Pack <rogerpack2005@...>
Hello all.
Roger Pack wrote in post #1028871:
[#389508] Memory issue with tail command — "Jon S." <bluefootedpig@...>
I am writing some code, that needs to open a file of size 12413 to read
[#389518] SOAP WSDLDriverFactory - where? — PD Dizon <paulinedonna.dizon@...>
Hi all,
[#389526] Use #extend on BasicObject ? — Intransition <transfire@...>
Can it be done?
[#389546] Newbie Ruby Softball — mike lev <mlevineisme@...>
I'm new to ruby but trying to learn. I've been trying to figure out some
[#389553] "A" and "an" articles in front of words — Faith Tarcha <faith@...>
Hello guys, I have two objects that consist of arrays and I am suppose
On Sat, Oct 29, 2011 at 10:49, Faith Tarcha <faith@centrum.sk> wrote:
hi Faith,
On Sun, Oct 30, 2011 at 22:23, jake kaiden <jakekaiden@yahoo.com> wrote:
Sorry to be late to the party on this one, but a regex seems a bit of a =
On Sun, Nov 6, 2011 at 12:59 PM, steve ross <cwdinfo@gmail.com> wrote:
Indeed. My understanding is that the usage of a/an depends on the
> Indeed. My understanding is that the usage of a/an depends on the
On Tue, Nov 08, 2011 at 05:23:31PM +0900, Gon=E7alo C. Justino wrote:
google hasn't helped: does anyone have or know of a "complete" list of
A complete dictionary shouldn't be necessary. Just exceptions. Look at =
[#389590] Vim Ruby Config — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>
Hello,
You can start here. https://github.com/vim-ruby/vim-ruby
Okay I installed vim ruby and supertab but it still is not completing =
Coming over from AppleScript, one of the things I haven't been able to =
On 10/31/2011 03:40 AM, Wayne Brissette wrote:
Thanks everybody. It's just a matter of rethinking things, but the =
[#389599] UDPSocket#bind(ip, port) fails under IPv6 ! — Iñaki Baz Castillo <ibc@...>
Hi, the following script shows that UDPSocket#bind fails if the given
[#389617] Recursion WTF! — "Damián M. González" <gonzalezdamianm@...>
Hello friends, my mind is blowing up in flames. I can't understand how
[ANN] Rails 3.1.1.rc3
Hi everyone,
Rails 3.1.1.rc3 has been released. Please give it a try, it's our
chance to fix regressions you might find and make a beautiful 3.1.1
stable release. If there are no regressions I will be releasing 3.1.1
final next October 7th. If you find any regression please contact me
ASAP by email, twitter or github.
## CHANGES
*ActionMailer*
* No changes
*ActionPack*
* stylesheet_link_tag('/stylesheets/application') and similar helpers doesn=
't
throw Sprockets::FileOutsidePaths exception anymore [Santiago Pastorino]
* Ensure default_asset_host_protocol is respected, closes #2980. [Jos=E9 Va=
lim]
Changing rake db:schema:dump to run :environment as well as :load_config,
as running :load_config alone will lead to the dumper being run without
including extensions such as those included in foreigner and
spatial_adapter.
This reverses a change made here:
https://github.com/rails/rails/commit/5df72a238e9fcb18daf6ab6e6dc9051c910=
6d7bb#L0L324
I'm assuming here that :load_config needs to be invoked
separately from :environment, as it is elsewhere in the
file for db operations, if not the alternative is to go
back to "task :dump =3D> :environment do".
[Ben Woosley]
* Update to rack-cache 1.1.
Versions prior to 1.1 delete the If-Modified-Since and If-Not-Modified
headers when config.action_controller.perform_caching is true. This has t=
wo
problems:
* unexpected inconsistent behaviour between development &
production environments
* breaks applications that use of these headers
[Brendan Ribera]
* Ensure that enhancements to assets:precompile task are only run once
[Sam Pohlenz]
* TestCase should respect the view_assigns API instead of pulling variables=
on
its own. [Jos=E9 Valim]
* javascript_path and stylesheet_path now refer to /assets if asset pipelin=
ing
is on. [Santiago Pastorino]
* button_to support form option. Now you're able to pass for example
'data-type' =3D> 'json'. [ihower]
* image_path and image_tag should use /assets if asset pipelining is turned
on. Closes #3126 [Santiago Pastorino and christos]
* Avoid use of existing precompiled assets during rake assets:precompile ru=
n.
Closes #3119 [Guillermo Iguaran]
* Copy assets to nondigested filenames too [Santiago Pastorino]
* Give precedence to `config.digest =3D false` over the existence of
manifest.yml asset digests [christos]
* escape options for the stylesheet_link_tag method [Alexey Vakhov]
* Re-launch assets:precompile task using (Rake.)ruby instead of Kernel.exec=
so
it works on Windows [cablegram]
* env var passed to process shouldn't be modified in process method. [Santi=
ago
Pastorino]
* `rake assets:precompile` loads the application but does not initialize
it.
To the app developer, this means configuration add in
config/initializers/* will not be executed.
Plugins developers need to special case their initializers that are
meant to be run in the assets group by adding :group =3D> :assets. [Jos=
=E9 Valim]
* Sprockets uses config.assets.prefix for asset_path [asee]
* FileStore key_file_path properly limit filenames to 255 characters.
[phuibonhoa]
* Fix Hash#to_query edge case with html_safe strings. [brainopia]
* Allow asset tag helper methods to accept :digest =3D> false option in
order to completely avoid the digest generation.
Useful for linking assets from static html files or from emails when the us=
er
could probably look at an older html email with an older asset.
[Santiago Pastorino]
* Don't mount Sprockets server at config.assets.prefix if
config.assets.compile is false. [Mark J. Titorenko]
* Set relative url root in assets when controller isn't available for
Sprockets (eg. Sass files using asset_path). Fixes #2435 [Guillermo
Iguaran]
* Fix basic auth credential generation to not make newlines. GH #2882
* Fixed the behavior of asset pipeline when config.assets.digest and
config.assets.compile are false and requested asset isn't precompiled.
Before the requested asset were compiled anyway ignoring that the
config.assets.compile flag is false. [Guillermo Iguaran]
* CookieJar is now Enumerable. Fixes #2795
* Fixed AssetNotPrecompiled error raised when rake assets:precompile
is compiling certain .erb files. See GH #2763 #2765 #2805 [Guillermo
Iguaran]
* Manifest is correctly placed in assets path when default assets
prefix is changed. Fixes #2776 [Guillermo Iguaran]
* Fixed stylesheet_link_tag and javascript_include_tag to respect
additional options passed by the users when debug is on. [Guillermo
Iguaran]
* Fix ActiveRecord#exists? when passsed a nil value
* Fix assert_select_email to work on multipart and non-multipart
emails as the method stopped working correctly in Rails 3.x due to
changes in the new mail gem.
*ActiveModel*
* Remove hard dependency on bcrypt-ruby to avoid make ActiveModel
dependent on a binary library.
You must add the gem explicitly to your Gemfile if you want use
ActiveModel::SecurePassword:
gem 'bcrypt-ruby', '~> 3.0.0'
See GH #2687. [Guillermo Iguaran]
*ActiveRecord*
* Add deprecation for the preload_associations method. Fixes #3022.
[Jon Leighton]
* Don't require a DB connection when loading a model that uses
set_primary_key. GH #2807.
[Jon Leighton]
* Fix using select() with a habtm association, e.g.
Person.friends.select(:name). GH #3030 and
#2923.
[Hendy Tanata]
* Fix belongs_to polymorphic with custom primary key on target. GH #3104.
[Jon Leighton]
* CollectionProxy#replace should change the DB records rather than
just mutating the array.
Fixes #3020.
[Jon Leighton]
* LRU cache in mysql and sqlite are now per-process caches.
* lib/active_record/connection_adapters/mysql_adapter.rb: LRU cache
keys are per process id.
* lib/active_record/connection_adapters/sqlite_adapter.rb: ditto
* Database adapters use a statement pool for limiting the number of open
prepared statments on the database. The limit defaults to 1000, but can
be adjusted in your database config by changing 'statement_limit'.
* Fix clash between using 'preload', 'joins' or 'eager_load' in a
default scope and including the
default scoped model in a nested through association. (GH #2834.)
[Jon Leighton]
* Ensure we are not comparing a string with a symbol in
HasManyAssociation#inverse_updates_counter_cache?.
Fixes GH #2755, where a counter cache could be decremented twice as
far as it was supposed to be.
[Jon Leighton]
* Don't send any queries to the database when the foreign key of a
belongs_to is nil. Fixes
GH #2828. [Georg Friedrich]
* Fixed find_in_batches method to not include order from
default_scope. See GH #2832 [Arun Agrawal]
* Don't compute table name for abstract classes. Fixes problem with
setting the primary key
in an abstract class. See GH #2791. [Akira Matsuda]
* Psych errors with poor yaml formatting are proxied. Fixes GH #2645 and
GH #2731
* Use the LIMIT word with the methods #last and #first. Fixes GH #2783
[Damien Mathieu]
*ActiveResource*
* No changes
*ActiveSupport*
* ruby193: String#prepend is also unsafe [Akira Matsuda]
* Fix obviously breakage of Time.=3D=3D=3D for Time subclasses [jeremyevans=
]
* Added fix so that file store does not raise an exception when cache dir d=
oes
not exist yet. This can happen if a delete_matched is called before anythin=
g
is saved in the cache. [Philippe Huibonhoa]
* Fixed performance issue where TimeZone lookups would require tzinfo
each time [Tim Lucas]
* ActiveSupport::OrderedHash is now marked as extractable when using
Array#extract_options! [Prem Sichanugrist]
*Railties*
* Add jquery-rails to Gemfile of plugins, test/dummy app needs it.
Closes #3091. [Santiago Pastorino]
* `rake assets:precompile` loads the application but does not initialize it=
.
To the app developer, this means configuration add in
config/initializers/* will not be executed.
Plugins developers need to special case their initializers that are
meant to be run in the assets group by adding :group =3D> :assets.
You can find an exhaustive list of changes on
[github](https://github.com/rails/rails/compare/v3.1.0...v3.1.1.rc3).
Along with the [closed issues marked for
v3.1.1](https://github.com/rails/rails/issues?milestone=3D6&state=3Dclosed)=
.
You can also take a look to what's new between [v3.1.1.rc2 and
v3.1.1.rc3](https://github.com/rails/rails/compare/v3.1.1.rc2...v3.1.1.rc3)
You can also see issues [we haven't closed
yet](https://github.com/rails/rails/issues?milestone=3D8&state=3Dopen).
Thanks to everyone!
--
Santiago Pastorino
WyeWorks Co-founder
http://www.wyeworks.com
Twitter: http://twitter.com/spastorino
Github: http://github.com/spastorino