Proxy für open-uri verwenden

In vielen Umgebungen ist der direkte Zugriff auf z.B. Web-Inhalte nur über einen Proxy möglich. In unserem heutigen Script-Tip zeigen wir euch wie ihr für open-uri einen Proxy setzen könnt.

mehr...

Parameter an send Methode übergeben

Wenn der direkte Aufruf eine Methode nicht möglich ist oder auch häufig bei der Meta-Programmierung, kann in Ruby die send-Methode verwendet werden. Diese Methode wird von Ruby selber benutz um Methoden in Klassen aufzurufen.

mehr...

Zeitgesteuerte Programmausführung ohne cron

Hin und wieder ist nötig Scripte/Programme zu einem bestimmten Zeitpunkt auszuführen. Auf unixoiden System wird in der Regel cron oder at dafür benutzt. Bei Windows kommt hierfür häufig die Services zum Einsatz. Wenn all dies nicht möglich ist oder man lieber bei Ruby bleiben will, kann unseren heutigen Script-Tip dafür benutzen.

mehr...

Ruby im Webbrowser (wieder verfügbar)

Viele kennen die irb Ruby Konsole von “Why The Lucky Stiff”. Die Konsole lief im Browser und jeder konnte so seine ersten Ruby-Geh-Versuche im Browser testen bevor man sich den Interpreter installiert hat. Nach dem misteriösen Verschwinden von Why war eine zeitlang unklar was mit seinen Projekten passieren würde.

mehr...

MySQL DB in UTF8 konvertieren

In der Regel sollte man das Encoding für seine Datenbanken auf UTF8 stellen um später keine bösen Überraschungen zu erleben. Falls beim Entwicklungstart diese Einstellung vergessen wurde oder wenn man sich später zu UTF8 “bekennt” kann man folgendes Ruby-Script benutzen um die Datenbank zu konvertieren.

mehr...

Practical Ruby Projects: Ideas for the Eclectic Programmer

Want to take Ruby to the limit? Looking for new, powerful, and creative ideas that will take Ruby beyond Rails and web programming? If you’re comfortable with Ruby, you’ll be itching to go further–apply Practical Ruby Projects: Fresh Ideas with Ruby and become a master of advanced Ruby techniques.

Rubyist Topher Cyll brings several imaginative projects to this book, ranging from making generative music, animations, and turn-based games to implementing simulations, algorithms, and even an implementation of Lisp!

mehr...

Professional Ruby Series, CD-ROM Mongrel, Routing, RESTful, Plugins, and Rubyisms

Rails Routing focuses on the extensive and powerful routing subsystem in Rails–the suite of techniques for manipulating the process by which incoming requests to a Rails application can be matched with, or mapped to, specific actions. Rails Refactoring to Resources. If you’re new to Representational State Transfer (REST), this Short Cut will help you decide which parts of the REST paradigm you want to introduce to your application. If you’re a developer with more RESTful experience, it will introduce you to some refactorings that will give your application a cleaner, leaner code base. Rubyisms in Rails is an examination of how the style of Ruby informs the design of Rails.

mehr...

Design Patterns in Ruby (Addison-Wesley Professional Ruby)

Praise for Design Patterns in Ruby "Design Patterns in Ruby documents smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work." -Steve Metsker, Managing Consultant with Dominion Digital, Inc. "This book provides a great demonstration of the key ‘Gang of Four’ design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically ‘dry’ subject into such an engaging and even occasionally humorous read." -Peter Cooper "This book renewed my interest in understanding patterns after a decade of good intentions.

mehr...

Flexible Rails: Flex 3 on Rails 2

Flexible Rails is a unique, application-based guide for using Ruby on Rails and Adobe Flex to build rich Internet applications (RIAs). It is not an exhaustive Ruby on Rails or a Flex reference. Instead, it is an extensive tutorial in which the reader builds multiple iterations of an interesting RIA using Flex and Rails together.

mehr...

Programmieren mit Ruby

Mit einem Vorwort von Yukihiro “matz” Matsumoto, dem Schöpfer von Ruby – p. Ruby ist eine neue und rein objektorientierte Skript-Sprache, die in Japan entwickelt wurde und auch in Europa und den USA die immer mehr Anhänger gewinnt. Sie zeichnet sich aus durch eine eine eingängige, gut lesbare Syntax, viele eleganten Programmier-Konstrukte sowie mächtige Funktionen zur Stringverarbeitung.

mehr...

Ruby for Rails: Ruby Techniques for Rails Developers

What’s Inside *How Ruby and Rails work, separately and together *Extensive Ruby language tutorial *Ruby techniques for Rails applications *Explore the Rails framework source code A new level of programming power and versatility awaits Ruby on Rails developers who master not only the conventions of Rails but the workings of the Ruby language itself. Because Rails itself and all Rails applications are written in Ruby, the knowledge of Ruby this book gives you will dramatically improve your Rails programming.

mehr...

Programmierung in Ruby

Der Leitfaden der Pragmatischen Programmierer.

Dies ist die deutsche Übersetzung des Programming Ruby – The Pragmatic Programmer’s Guide (erste Fassung).

mehr...

Enterprise Integration with Ruby (Pragmatic Programmers)

Typical enterprises use dozens, hundreds, and sometimes even thousands of applications, components, services, and databases. These run on heterogeneous operating systems and hardware, they use databases and messaging systems from various vendors, and they were written in different programming languages. And it’s your job to make them work together. This book shows you how the power and elegance of Ruby can greatly simplify your job.

mehr...

Programming Ruby. The Pragmatic Programmer’s Guide

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, “Programming Ruby: The Pragmatic Programmer’s Guide”.

mehr...

Suchen auf rubyonrails.de

Aktuelle Rails Version + Abhängigkeiten:

Gem rails-3.0.0
actionmailer (= 3.0.0, runtime)
actionpack (= 3.0.0, runtime)
activerecord (= 3.0.0, runtime)
activeresource (= 3.0.0, runtime)
activesupport (= 3.0.0, runtime)
bundler (~> 1.0.0, runtime)
railties (= 3.0.0, runtime)

Rails auf Rubyforge
Rails auf Github