Articles

Using Bundler in Real Life

A lot of people have asked me what the recommended workflows for bundler are. Turns out, they’re quite simple.

Let’s step through a few use-cases.

You Get a Repo for the First Time

You’ve just checked out a git (or other) repository for an application that uses bundler. Regardless of any other features of bundler in use, just run:

bundle install

This will resolve all dependencies and install the ones that aren’t already installed in system gems or in your system’s bundler cache.

Plugin Authors: Toward a Better Future

Some of the biggest changes in Rails 3 involve how Rails expects plugins to behave.

Dependencies

If your plugin has dependencies, make it a gem and have your users install it using the Gemfile. This will ensure that Bundler properly calculates the dependencies alongside any other dependencies the user’s app has.

Ruby Metaprogramming Course – Start Thinking in Ruby

RubyLearning is honored to have Paolo Perrotta, author of the book Metaprogramming Ruby, who would be answering some of the questions in the course forum.

Passenger and browser testing in virtual machines

If you’re running Passenger in development, here is how to make Windows running in a virtual machine connect to your app in Passenger.

Using Concentrate for the Pomodoro Technique on OS X

concentrate.png

GitHub Rebase #36

As always, if you have neat projects you want to show off send me a message! I usually try to keep a balance of languages/domains between the posts, so don’t lose hope if your project isn’t in the latest issue. Just please have a README so you can show others (and me!) how to setup/use your project.

'What's New in Edge Rails' Moves to EdgeRails.info

For awhile I’ve wanted to move the “What’s New in Edge Rails” series to its own site to reflect the fact that it is an independent and self-sustaining series and not some small figment of my mind anymore. I started writing the What’s New series about four years ago and it’s clear it needs to be treated like a first-class citizen.

#351 | “Teambox - Open-source team collaboration web app” in Category: Applications/Downloads/Open Source

»Synchronizing Core Data With Rails 3.0.0.pre«

Indian Ruby on Rails Portfolio

Indian Ruby on Rails Portfolio

I am compiling a list (in alphabetical order) showcasing Indian websites made with Ruby on Rails. Hat Tip: Fabio Akita

Adomado

Adomado

Rails 3 Beta is out – check out Rails Upgrade plugin

In case you haven’t heard, Rails 3 is now in Beta.
Just a quick post to say, if you haven’t already, check out the Rails upgrade plugin, this will quickly show you what bits of your code need to be updated to work with Rails 3.
Also, check out the full release notes, lots of juicy stuff [...]

Articles | Rails Fire

Articles

The Rails Underground 2009 Keynotes: Fred George and Yehuda Katz

rails undergroundI attended the Rails Underground conference in London at the weekend (July 24-25, 2009). As always seems to be the case at these events, I got the most value out of the more theoretical and opinion-based talks rather than 'how-to' style presentations.

RailsLab: Scaling Your Database - Part 2

In the first Scaling your Database screencast we learned how to scale our database if our website is read heavy, but how do we scale if our website is write heavy? Also, if you’re running MySQL do you know which database engine your website is using? and why? If you want the answers to these questions, or you just want to learn more about database scaling, it’s time to watch the 18th episode of the Scaling Rails screencast series.

RailsLab: Scaling Your Database – Part 2

In the first Scaling your Database screencast we learned how to scale our database if our website is read heavy, but how do we scale if our website is write heavy? Also, if you’re running MySQL do you know which database engine your website is using? and why? If you want the answers to these questions, or you just want to learn more about database scaling, it’s time to watch the 18th episode of the Scaling Rails screencast series.

Injection SQL - créée

L'injection SQL est une attaque à la fois commune et dévastatrice. Son but est de modifier les requêtes faites à la base de données en manipulant les paramètres de la requête HTTP. Un des buts populaire de l'injection SQL est d'outre-passer l'authentification. Les autres buts sont d'arriver à modifier les données et de lire des données arbitraires.

Injection SQL - créée

L'injection SQL est une attaque à la fois commune et dévastatrice. Son but est de modifier les requêtes faites à la base de données en manipulant les paramètres de la requête HTTP. Un des buts populaire de l'injection SQL est d'outre-passer l'authentification. Les autres buts sont d'arriver à modifier les données et de lire des données arbitraires.

PostgreSQL - créée

PostgreSQL est un système de base de données objet/relationnel puissant et libre (open source). Il est développé depuis 15 ans et offre une architecture qui s'est construit une réputation de stabilité, d'intégrité de données ainsi que de fiabilité.

PostgreSQL - créée

PostgreSQL est un système de base de données objet/relationnel puissant et libre (open source). Il est développé depuis 15 ans et offre une architecture qui s'est construit une réputation de stabilité, d'intégrité de données ainsi que de fiabilité.

Double Shot #507

Wait, it’s still July? This month may never end.

Changing Readline Completions With a Key Combo

Readline has the powerful concept of a macro which maps a key combo to anything you can type. We’ll look at using a readline macro to trigger ruby code in a ruby shell. Since ruby has the gem bond to easily define readline completions, we’ll change completion behavior with the flick of a key combo.

Intro

First off, you should be aware that what follows can be done with any readline, non-ruby completion setup that allows painless redefinition of a completion.

Original Author Name: 
Gabriel Horner

GitHub Meetup SF #2

You know the drill. 7:30pm, July 30th at Eddie Rickenbacker’s. Look for me or mojombo (picture reference).

And oh yeah, rumor is Tekkub will be here – don’t miss it!

ActiveJquery - Status | Rails Fire

ActiveJquery - Status

Current Things That Are Working:

Controller/Server
1. Can read full table
2. Can read using JqGrid Pager
3. Added Sort support, so server will honor the grid sort request
4. Added Delete,Add and Update support.
5. Auto Generates JqGrid Javascript from ActiveRecord
6 Added Total Records to XML so Pager works properly.

ActiveJquery Library/Client
1. Added support for string, integer, date.
2. Generates JSON Based Reader compatible with Rails JSON Format
3. Uses Humanize to handle automatic column names.
4. Uses JqueryUI for theming
5. InLine Edit Support

Things to Do:
1. Paste Controller code into prepared plugin
2. Add static data support
3. Add a bit of DSL(Domain Specific Language) to allow easy configuration
4. Add Master/Detail Support
5. Add Date Picker Plugin
6. Add Parent Table Dynamic Data Selector