Articles

Login to rubyCAS from a form

Now, as with most places, the root url for our site points at the signup-form. It's there to tempt new users to join us and start creating a new dating site immediately.
But our existing users will usually hit this page first too.

#350 | “Vanity - Experiment Driven Development” in Category: Advanced Knowledge/Digging Deeper

»Synchronizing Core Data With Rails 3.0.0.pre«

Holiday Fun: How Programming Language Fanboys See Each Others’ Languages

superfriends.pngOvert humor isn't usually Ruby Inside's thing, but it's the holiday season, so there's nothing wrong with kicking up your heels and having a little fun. Don't worry - this won't become a habit. Promise! After the fold, check out a chart showing how programming language fanboys (Ruby's included) see each other's respective languages.

Is RSpec too complex for Rails Tutorial?

I've gotten feedback that RSpec may be too complex for the Rails Tutorial book. Though I mainly use RSpec myself, there are advantages to using the default Test::Unit framework. If I'm ever going to switch from RSpec to Test::Unit, now is the time, since subsequent chapters will have many more tests and would require much more rewriting to change. I've set up a survey to get reader feedback about testing frameworks; please let me know what you think by taking the survey here.

Cucumber 0.5 + Textmate bundle not running @wip

This is a quick one.

Cucumber's recent version bump includes a new and improved html report generator (for textmate users, at least) borrowing javascript from rspec. That is to say, when you run your features it will be more like when you run your specs, progress bar and so on. I like that now it shows undefined step snippets in the textmate window in a usable form, that's a timesaver.

Friendly: Easy Schemaless “NoSQL” Data Storage with MySQL in Ruby

friendly.png Friendly is a new Ruby ORM (a la ActiveRecord) that lets you easily use NoSQL ideas on regular database engines, such as MySQL.

Generic Actions in Rails 3

So Django has an interesting feature called “generic views”, which essentially allow you to to render a template with generic code. In Rails, the same feature would be called “generic actions” (just a terminology difference).

This was possible, but somewhat difficult in Rails 2.x, but it’s a breeze in Rails 3.

Let’s take a look at a simple generic view in Django, the “redirect_to” view:

Happynerds – Programming Links for Kids

Happynerds – Programming Links for Kids

A guest post by Michael Kohl.

What's New in Edge Rails: Set Flash in redirect_to


This feature is schedule for: Rails v2.3 stable

Rails’ flash is a convenient way of passing objects (though mostly used for message strings) across http redirects. In fact, every time you set a flash parameter the very next step is often to perform your redirect w/ redirect_to:

hack 015: Building Shoes for Windows: rebuilt the deps files with Ruby 1.9.1p376 and add some extensions

Articles | Rails Fire

Articles

Ruby on Rails 시작하기

Ruby on Rails 시작하기

* 시작하기
* Ruby 언어와 Rails 프레임워크 개관
* Ruby on Rails에 대한 기본 이해

* 설치
* 처음 어플리케이션
* Rails 업그레이드
* Rails 와 Ruby Gem 업데이트하기
* 기존 어플을 새로나온 Rails로 업데이트하기

Mapping ROR, ROW and WhoDoes users....?

We thought it would be interesting to know where about our railsonwave.com and whodoe.es users are in the world…

So if you use Whodoe.es, read our blog railsonwave.com, you are a user of Ruby on Rails or a Web 2.0 designer, please add where you are located on the shared google map here, just your name/nickname and the area you are in, it does not have to be the exact address:

Pop up window problem in IE

Recently I was having problem to open pop up window in IE browsers. Although it works properly in all other browsers.
In IE , window is open on self window rather than another window.
Finally I found the error in my code, and that was window name problem.
I defined the window name with space (window name). It [...]

Double Shot #543

Not much happening today.

Ack!

I just wanted to let you all know that ack, a better grep (and one of my favorite tools), is now hosted on GitHub: http://github.com/petdance/ack

Watch the project and start wondering how you ever lived without it.

Rails Envy Podcast – Episode #092: 09/17/2009

Episode #092. I’m joined again by Dan Benjamin and we have quite a fun time. You may know Dan from his compiling Ruby, Rails, and MySQL guides, cork’d, and most recently Playgrounder. We’ve got a ton of news this week and I promise to have a song stuck in your head by the time you finish.

5 Things You’ll Love About Rubinius

When working on a project, contributors are constantly re-evaluating the pitch: “how do I explain to someone why what I’m doing is interesting?” The Rubinius team is no different. It’s back to school season for a lot of you, so I’ve arranged my thoughts into a tidy back to school metaphor, looking at Rubinius through the eyes of its college roommate.

1. We Take Out the Garbage

No one likes cleaning up after a messy roommate, navigating around piles of junk or restarting your app servers constantly because  memory use grows without bound.

Find the Best Position: Rock the Job Episode 15 [Video]

 Find the Best Position: Rock the Job Episode 15 [Video]

For episode 15 of Rock the Job, Nick and I talk

Double Shot #542

Another quiet morning in the code farm.

There is no magic, there is only awesome (Part 1)

The following is the first of a series of articles that I will be posting in the coming weeks, based on the keynote address I gave at the 2009 Ruby Hoedown in Nashville, entitled “There is no magic, there is only awesome.” I originally intended to publish the entire series of articles as a single article, but it got too long. At any rate, I think it’ll be more easily digestible as multiple posts.

Articles | Rails Fire

Articles

Twitter me this

If a tweet is uttered with no followers, does it make a peep? I'm getting going with Twitter on http://twitter.com/d2h.

67. Rush - The Ruby Shell

rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax.

It combines the power of unix with the elegance of Ruby.  

Simple Expense Tracking with Google Docs

As my family prepares for our pending Disney trip, I’m thinking about clever ways to take advantage of my wife’s iPhone. One of the things we’ve done is budget the trip based on a few simple categories of expenses. There’s a lot of ways to track expenses to budgets, but I’m particularly happy with how this worked out using Google Documents and the iPhone.

RTeX 2 Preview 1 Released

I’m happy to release RTeX 2 Preview 1 (v1.99.0), now available as a gem from RubyForge. RTeX can be used as a plugin with Rails 2.0.1+.

History

In 2006 I released a Rails plugin, Rtex, used to generate PDFs via the LaTeX typesetting system. It became a popular choice for people looking for a more advanced alternative to PDF::Writer, especially for larger documents.

Wiebe Cazemier joined the project in 2007, helping to improve the plugin and fielding patches and bug reports.

The Paris Project

One of the nice things about the last two and a half years has been working from home. You avoid 90% of the dilbert-style office drama, and the commute is hard to beat. But the nicest thing about working from home is that, strictly speaking, I can work from any home, not just our little place.

So from July the 4th till the end of the year Anika and I will be living in Paris. You know, this paris:

Now running on Passenger

Today I had a few hours to spare and decided to try out Passenger. This blog is hardly a high traffic website, but it has some crazy RewriteRules that I figured would test the limits of the module.

Everything appears to be working perfectly, and it took less than 5 minutes to set everything up. I’m seriously impressed at how simple this was. I’ll confess to being skeptical at first, but so far the package lives up to the promises on its website.

Rails Chops: Layouts and Flash notices

Please view in full screen:

The silent majority

I had a great time on the West coast recently with stops in Santa Barbara and Palo Alto. What always surprises me at events like these is the huge number of people I meet that are doing cool things with Rails that I've never heard of. The kind of people who are just really happy to be using Rails and happy to build businesses with it.

Tropa Da Elite Trailer


Shutting Down Windows from Ruby Code

Someone recently asked how to shut down or restart Windows from their Ruby code. Windows provides an executable, "shutdown.exe", to accomplish this. Execute this command from your script with the appropriate parameters and you can log off, shutdown, or restart the OS.

Parameters accepted include, but are not limited to:


-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-t xx Set timeout for shutdown to xx seconds
Terry Pratchett Sacred | Rails Fire

Terry Pratchett Sacred

2009 Reading list

Recently – for various degrees of recent that is – people really seem to be into programming language design and development.

Simple AWS scripting with boto

Recently – for various degrees of recent that is – people really seem to be into programming language design and development.

Android and me

Recently – for various degrees of recent that is – people really seem to be into programming language design and development.

happynerds.net is online!

Recently – for various degrees of recent that is – people really seem to be into programming language design and development.

Syndicate content