Ruby On Rails
1

The Ruby Show #126: Jason's Helper

In this episode, Jason and Dan congratulate the Rails core team for their fantastic release timing (right before we air instead of after). About 10 hours ago From The Ruby Show

Ruby On Rails
1

Everyone Who Tried to Convince Me to use Vim was Wrong

A couple weeks ago, I took the plunge and switched to vim (MacVIM, to be precise). It wasn’t the first time I tried to make the switch, and I had pretty much written it off entirely. Why? Because the past few times I tried switching to... about 16 hours ago From Katz Got Your Tongue?

Ruby On Rails
2

Learn how to build AWESOME mobile HTML5 apps

Want to learn how to build mobile web apps that use advanced CSS features like gradients and transformations, and HTML5 features like canvas, touch, audio, 2D and 3D animations, and more? Like you’ve seen on everytimezone.com and... 3 days ago From mir.aculo.us

1

how to read password from keyboard

Hi everyone! If I want to read a simple string from keyboard: simple_text = gets What if a password needs to be read from keyboard (commando line)? How do I mask it with asterisks? Regards, Bruno About 2 hours ago From comp.lang.ruby Forum

Ruby On Rails
1

Oh, that's why you should use Varnish and not Squid.

The really short answer is that computers do not have two kinds of storage any more. It used to be that you had the primary store, and it was anything from acoustic delaylines filled with mercury via small magnetic dougnuts via transistor... about 23 hours ago From Axon Flux

Ruby On Rails
1

Ruby on Rails 3 Tutorial book (including PDF downloads)

I'm pleased to announce the availability of the Ruby on Rails 3 Tutorial book, a version of the Rails Tutorial book fully up-to-date with Rails 3.0. As always, the book is available for free online, and as of today it is also available for... 1 day ago From Rails Tutorial News

Ruby On Rails
1

When JavaScript makes no sense

Here are some of the more weird things I’ve found over the years when using JavaScript. My most favorite quirk ever is: typeof NaN // => number Recently, I stumbled upon the “magic increasing number”: ... 1 day ago From mir.aculo.us

1

Exploiting Enterprise Software (like Hazelcast) with JRuby

cogitations.arbia.co.uk/post/863857348/distributed-ruby (or on Ruby Inside)Due to the nigh insurmountable work of Charles Nutter, Thomas Enebo, Ola Bini and Nick Sieger along with their team we have direct access to Java libraries and thus... 1 day ago From Ruby Inside

Ruby On Rails
1

Rails 3 RC!

Ask for Help "What good OpenID solutions are there for rails?" Janrain provides a service and the rpx_now gem that can handle a lot of the OpenID logic for you. Interesting Things You can use rvm with the --rvmrc --create... 2 days ago From Pivotal Blabs

1

Ruby on Rails 3.0 Release Candidate 1 Available

weblog.rubyonrails.org/2010/7/26/rails-3-0-release-candidate (or on Ruby Inside)High off Baltimore Pandemic and Yellow Tops, I believe we promised a release candidate shortly after RailsConf. As things usually go in open source, we gorged... 2 days ago From Ruby Inside

Ruby On Rails
1

What’s New in Bundler 1.0.0.rc.1

Taking into consideration the huge amount of feedback we received during the Bundler 0.9 series, we streamlined Bundler 1.0 significantly, and made it fit user expectations better. Whether you have used bundler before or not, the easiest way to... 3 days ago From Katz Got Your Tongue?

Ruby On Rails
1

Returning

schmidt-happens: Ruby/Rails never ceases to amaze me. Once again while digging around in the source code of Rails I came across Object#returning. Let me introduce you to this little gem. If you have been writing code for any amount of time... 4 days ago From Ruby Quicktips

1

wxruby dialog box, not centering on parent

Trying to center a messagebox on the parent instead of on whole screen. Read the docs, they say to use #center_on_parent before calling _modal. Doesnt seem to work, any ideas? ------------------------------ require 'rubygems' require 'wx' ... about 7 hours ago From comp.lang.ruby Forum

1

Getting wrong id

I have the follow method: def concluir @subtarefa = Subtarefa.find(params[:id]) @subtarefa.situacao_subtarefa = "Concluída" @subtarefa.data_termino_real = Date.current @subtarefa.update_attributes(p arams[:subtarefa]) @subtarefas... about 9 hours ago From comp.lang.ruby Forum

1

Hot Sexy Star Aishwarya Rai Bathing Videos In All Angles

Hot Sexy Star Aishwarya Rai Bathing Videos In All Angles At [link] Due to high sex content, i have hidden the videos in an image. in that website on Top Side search box Above click on image and watch videos in all angles. About 10 hours ago From comp.lang.ruby Forum

1

hash key (?)

Hiya Im going through the Ruby Cookbook. On page 51, there is the following example letter = { ?v => 'aeiou', ?c => 'xyz' } My question is, what does the key ?v do or mean. Kind Regards Brent Clark About 11 hours ago From comp.lang.ruby Forum

1

mazadoco

mazadoco [link] About 16 hours ago From comp.lang.ruby Forum

Ruby On Rails
1
The Road to Passenger 3: Technology Preview 4 – Adding new features and rem...

In the past two years that we’ve been developing Phusion Passenger, we’ve received not only many feature requests but also many criticisms about certain limitations. Some feature requests have been implemented in Phusion Passenger 2.x, some... about 1 hour ago From Phusion Corporate Blog

Ruby On Rails
1
Distributed Transactions and Two-Phase Commit

The typical example of a transaction involves Alice and Bob, and their bank. Alice pays Bob $100, and the bank needs to debit Alice and credit Bob. Easy enough, provided the server doesn't crash. But what happens if the bank debits Alice, and... about 4 hours ago From End Point

Twitter

rbates I'm usually not one to link to cute baby pictures, but this is creative. www.fubiz.net/2010/07/27/milas-daydreams/ 16 minutes ago [RT]

rbates Mibew Messenger is some of the cleanest PHP code I've ever seen. Works great too. mibew.org/ about 1 hour ago [RT]

rbates Liking my new wallet. It's just big enough to hold everything I need, and no bigger. amzn.to/d1paGh about 2 hours ago [RT]

bansalakhil "A few git tips you didn't know about" tinyurl.com/32umtry #git #yam about 14 hours ago [RT]

merbist so Sinatra is allocating a bunch of bignums for every requests, I guess that will require more investigation tomorrow /cc @bmizeranyy about 14 hours ago [RT]

merbist GC cycle stats: [9%] 2268 freed bignums. #WTF about 15 hours ago [RT]

MikeG1 The next time a customer brings me a domain registered with GoDaddy I'm tearing up the contract. about 21 hours ago [RT]

MikeG1 Array of n elements, need to select 4 at random with no duplicates. Best ruby way to do it? about 22 hours ago [RT]

lifo HA! What are the odds ?! Minchin show currently on E4+1 - first I've seen him on the TV. about 23 hours ago [RT]

lifo <3 Tim Minchin http://www.youtube.com/watch?v=78XrI_2bPVA about 24 hours ago [RT]

dhh If you can't make money off 30 million units sold, you're doing it wrong. LG posts Q2 loss: bit.ly/aE3x6i 1 day ago [RT]

MikeG1 Dear Integra: bit.ly/bcCckc is not a confidence builder. 1 day ago [RT]

merbist I'll try to write a blog post about my findings on how to deal with extremely high/concurrent non-cacheable requests using Ruby. 1 day ago [RT]

merbist profiling Ruby 1.9's GC and being horrified by how much ActiveRecord is giving the GC a hard time (and that's without Rails) 1 day ago [RT]

MikeG1 Anyone have any experience with bit.ly/ditGcI ? 2 days ago [RT]

rbates Must... Resist... StarCraft II.... 2 days ago [RT]

lifo Runkeeper/iPhone fail :-( runkeeper.com/user/lifo/activity/13531525 It was just 2 miles not 6.35! At least it got the timing right. 2 days ago [RT]

lifo More MetaWhere improvements from @erniemiller - bit.ly/bEJtDH 2 days ago [RT]

rbates What is 26 years old and 5,822 lines of Pascal in a single file? It's the MacPaint source code! bit.ly/aDIYO5 2 days ago [RT]

MikeG1 Mom: "These hands are dirty. You should wash them." 6yo: "I tried that one time." 2 days ago [RT]

bansalakhil jQuery.Syntax: Simple jQuery syntax highlighter tinyurl.com/2vpqa3v #jQuery #yam 2 days ago [RT]

1
Problem with a lambda not executing immediately

Hi, I'm using the paperclip plugin for one of my rails app, but my problem is pure Ruby. I'm not good enough with Ruby and lambdas so I need your advice. Here is the code I am trying to make work: class Asset has_attached_file :data,... about 2 hours ago From comp.lang.ruby Forum

Ruby On Rails
1
Deploying to Heroku with Rails 3.0.0.rc

The Ruby on Rails Tutorial book uses the latest version of Rails, which is the current release candidate of Rails 3.0.0.rc. Unfortunately, at the time of this writing, you can't deploy applications to Heroku using the Rails release candidate... about 23 hours ago From Rails Tutorial News

Ruby On Rails
1
PostgreSQL: per-version .psqlrc

File this under "you learn something new every day." I came across this little tidbit while browsing the source code for psql: you can have a per-version .psqlrc file which will be executed only by the psql associated with that major version. ... about 23 hours ago From End Point

Ruby On Rails
1
Grep anything from your Enumerables

grep is a nice little method to select elements from an Enumerable that match a certain pattern. For example, you can look for string- or regular expression matches: ["Test", "Foo", "Bar"].grep 'Foo' => ["Foo"] ["Test", "Foo", "Bar"].grep... 1 day ago From Ruby Quicktips

Ruby On Rails
1
PostgreSQL: Dynamic SQL Function

Sometimes when you're doing something in SQL, you find yourself doing something repetitive, which naturally lends itself to the desire to abstract out the boring parts. This pattern is often prevalent when doing maintenance-related tasks such as... 1 day ago From End Point

1
Downloading iTunes finance reports into FreeAgent

Just over a year ago, I posted a comparison between two popular online accounting tools, Xero and FreeAgent. As I concluded, I found that FreeAgent worked best for small businesses and freelancers like myself and I’ve been using it ever... 1 day ago From Luke Redpath

Ruby On Rails
1
Drink#65: Your Ruby on Rails Juice

Lemonade by floodkoffRiding Rails: Rails 3.0: Release candidate!: David announces the release of Ruby on Rails 3.0 RC.Episode 223: Charts: Ryan Bates with another great post on Ruby on Rails 3 controller changes.What’s New in Bundler... 2 days ago From Drink Rails

1
RubyConf Uruguay – October 29-30 in Montevideo, Uruguay

We'd like to invite you to RubyConf Uruguay, which will take place this October on Friday 29th and Saturday 30th, in Montevideo. This will be a single-track conference aimed at developers who want to learn or get up-to-date with Ruby, Ruby on... 2 days ago From Ruby Inside

Ruby On Rails
1
Standup 07/26/2010: The Bleeding Edge of Bundler

Interesting Things Bundler 1.0.0.rc.1 was released - try it out and help find any issues! There was a warning that running thin in dev mode can cause all requests to be cached in memory... not so thin. Running in production mode doesn't... 2 days ago From Pivotal Blabs

Ruby On Rails
1
Episode 224: Controllers in Rails 3

Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. 3 days ago From Railscasts

1
in which we watch while a veritable tower of babel is constructed

This week I was lucky enough to attend the Emerging Languages conference, a special event nestled snugly in a corner of O'Reilly's OSCON open source conference. Emerging Languages brought together language designers and implementors... 4 days ago From technomancy

1
Popular Posts on Clojure from RubyLearning

Many Rubyists today are talking about and exploring Clojure and I wanted to share a list of some popular posts on Clojure from RubyLearning. Enjoy! Rich Hickey Stuart Halloway Michael Fogus Amit Rathore And hopefully more to come… Technorati... 5 days ago From RubyLearning

1
Documentation on embedding ruby?

Hi. I would like to embed ruby interpreter into my C application, but I can't find any info on this :( Chapter in pickax book is very small and doesn't provide enough information. I've also found couple of embedding libraries via google, but... about 9 hours ago From comp.lang.ruby Forum

1

Clojure: A Chat with Andrew Boekhoff

In this brief interview, Satish Talim of RubyLearning talks to Andrew Boekhoff, author of CongoMongo, a toolkit for using MongoDB with Clojure. Satish>> Welcome Andrew and thanks for taking out time to share your thoughts. What programming... about 16 hours ago From RubyLearning

Ruby On Rails
1

Efficiency of find -exec vs. find | xargs

This is a quick tip for anyone writing a cron job to purge large numbers of old files. Without xargs, this is a pretty common way to do such a purge, in this case of all files older than 31 days: find /path/to/junk/files -type f -mtime +31... about 19 hours ago From End Point

1

[].all?{} and [].any?{} Behavior

I find the following behavior interesting (so interesting that I modified it), and I would like to hear others' thoughts on the subject: [3].all? {|element| element == 3 } # => true [3].all? {|element| element != 3 } # => false (sanity... about 1 hour ago From comp.lang.ruby Forum

1

London Ruby Contractor Needed

I need a ruby contractor for a high profile site in London. Initially 2 months but likely to extend to 6. If you're interested please email call Richard on 01926 487487. Skills are: • Ruby • Merb • AJAX • Google Analytics •... about 5 hours ago From comp.lang.ruby Forum

1

Michael Hartl’s Rails 3 Tutorial Book

The Ruby on Rails Tutorial: Learn Rails by Example (a.k.a. railstutorial.org) by Michael Hartl has become a must read for developers learning how to build Rails apps. Michael has put together a great Rails 2.3 tutorial, releasing it all for free... about 23 hours ago From Ruby Inside

ARCHIVES

July
27282930
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
293031
Ruby On Rails
1

Drink#66: Your Ruby on Rails Juice

Grep anything from your Enumerables: Nice little tip to simplify enumerable select.Deploying Your Ruby on Rails Application Using Git and Capistrano ...: Cameron shares a capistrano deploy file for the community.Mailman from RSoC: Read emails... 1 day ago From Drink Rails

1

Mailman – Like Sinatra for E-mail

blog.titanous.com/post/867488976/mailman-released (or on Ruby Inside)Mailman is an incoming email processing microframework. You point it at a source of email, such as a POP3 account or a Maildir, and it will execute routes based on the... 1 day ago From Ruby Inside

Ruby On Rails
1

Burger King

Me: can I have a Whopper meal with diet coke, but with onion rings instead of chips? BK: sorry, we cannot do that ME: Ok, can I have a whopper burger on its own, diet coke, and onion rings? BK: Ok … Price of chips: 1.99 Price of onion... 2 days ago From Mendable

Ruby On Rails
1

Episode #97 - July 27, 2010

Ilya Grigorik talks Fibers, while fake_arel, Rack-Gist, and Coloration get introduced. Also, Choco and some helpful Git tips sneak their way into this episode of Ruby5. Listen to this episode on Ruby5 Become a sponsor of Ruby5 ... 2 days ago From Ruby5

Ruby On Rails
1

Ruby LipDub – The Making Of!

As some of you remember a while ago our super-talented Ruby on Rails Team made a Ruby LipDub. We had loads of fun while shooting it and have a ton of behind-the-scenes material. Now, it’s the time to share it. Ladies and Gents, that’s... 2 days ago From Applicake

Ruby On Rails
1

Localize $@ in DESTROY

I have been conditioned now for many years to trust the relationship of $@ to its preceding eval. The relationship goes something like this: if you have string or block eval, immediately after its execution, $@ will either be false or it will... 2 days ago From End Point

Ruby On Rails
1

Rails 3.0: Release candidate!

High off Baltimore Pandemic and Yellow Tops, I believe we promised a release candidate shortly after RailsConf. As things usually go in open source, we gorged ourselves on fixes and improvements instead. But all to your benefit. We’ve had 842... 3 days ago From Ruby on Rails.org

1

Clojure Tips from the Experts

RubyLearning wrote to a lot of experts, gathering their best tips on Clojure. The tips are still coming in, but here are some to get you started with. Feel free to add your own tips in the comments section or send the same to satishtalim [at]... 3 days ago From RubyLearning

1

14 Ruby and Rails Jobs for August 2010

It's been a couple of months since the last job round up but the Ruby Inside job board has been hopping! There are 14 live listings to go over today and they're not all in San Francisco. Jobs in Denver and Maryland bring in a bit of interesting... 6 days ago From Ruby Inside

1

Adding an element to a copy of an array

Hi, array = ["one", "two", "three"] array_copy = array array_copy p array p array_copy ["one", "two", "three", "four"] ["one", "two",... about 8 hours ago From comp.lang.ruby Forum

1

How to use select

Hello people I have been looking around but i have not been able to run a succesful select it always failed on me. i also dont understand if there is a diference between IO.select or just select() Could you be so kind to let me know how it works? About 9 hours ago From comp.lang.ruby Forum

1

ruport, reading a csv whose column name have white spaces

hi there, i am not a expert with ruby at all. this is my first post, i do hope it's at right place, please advise otherwise. i have some dump reporting to do. The input is a csv file. i figured rupert could be my friend. i got it up and... about 10 hours ago From comp.lang.ruby Forum

1

my script just read one line?

Dear all, My script tried to read from one original tsv file and distribute into new multiple tsv files. Each line of the original file is like this: time_1, signal_1, time_2, signal_2... time_4096, signal_4096. I would like to write them... about 11 hours ago From comp.lang.ruby Forum