background preloader

Ruby

Facebook Twitter

Installing Ruby 1.9.2 and Rails 3 stable on Ubuntu / Neurons to bytes. WB@Rails4. Any application that can be written in JavaScript, will eventually be written in JavaScript.

WB@Rails4

Atwood’s Law (2007) World Wide Web – zobacz jak wyglądała pierwsza strona WWWPierwsze aplikacje WWW – CGI ↬ PHP (≈ 2000 r.)Comparison of web application frameworksRuby on Rails: Potrzebne nam gemy wyszukujemy na The Ruby Toolbox.RSpec – a testing tool for the Ruby programming language; RSpec RailsPolskie forum Ruby on RailsRails Rumble; check winnersWho is already on Rails?

: GitHub – ok. 4 mln programistówTwitter – „hits half a billion tweets a day” (26.10.2012)Nitrous.io – coding on remote boxesDave Kennedy, Give Vagrant a Place in Your WorkflowDocker – an open source project to pack, ship and run any application as a lightweight container. Beginning Ruby. Ruby is perhaps best known as the engine powering the hugely popular Ruby on Rails web framework.

Beginning Ruby

However, it is an extremely powerful and versatile programming language in its own right. It focuses on simplicity and offers a fully object-oriented environment. Beginning Ruby is a thoroughly contemporary guide for every type of reader who wants to learn Ruby, from novice programmers to web developers to Ruby newcomers. It starts by explaining the principles behind object-oriented programming and within a few chapters builds toward creating a genuine Ruby application. Code School - TryRuby. Ruby on Rails Tutorial: Learn Rails by Example. Michael Hartl Contents Foreword My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama).

Ruby on Rails Tutorial: Learn Rails by Example

19 Rails Tricks Most Rails Coders Don’t Know. New to Rails 3?

19 Rails Tricks Most Rails Coders Don’t Know

Check out the Ruby on Rails 3 Tutorial book and screencast. A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more. 74 Quality Ruby on Rails Resources and Tutorials. Learning Rails from scratch can be a pain.

74 Quality Ruby on Rails Resources and Tutorials

But don't fret, this guide provides the best Rails resources the Web has to offer. Ruby Regular Expressions. A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings using a specialized syntax held in a pattern.

Ruby Regular Expressions

A regular expression literal is a pattern between slashes or between arbitrary delimiters followed by %r as follows: 21 Ruby Tricks You Should Be Using In Your Own Code. Writing for Ruby Inside, I get to see a lot of Ruby code.

21 Ruby Tricks You Should Be Using In Your Own Code

Most is good, but sometimes we forget some of Ruby's shortcuts and tricks and reinvent the wheel instead. In this post I present 21 different Ruby "tricks," from those that most experienced developers use every day to the more obscure. Whatever your level, a refresh may help you the next time you encounter certain coding scenarios.

Note to beginners: If you're still learning Ruby, check out my Beginning Ruby book. 2009 Update: This post was written in early 2008 and looking back on it, there are a couple of tricks that I wouldn't recommend anymore - or to which extra warnings need to be added. 1 - Extract regular expression matches quickly A typical way to extract data from text using a regular expression is to use the match method. Email = "Fred Bloggs <fred@bloggs.com>"email.match(/<(.*?) Ultimately, using the String#[] approach is cleaner though it might seem more "magic" to you. Rubular: a Ruby regular expression editor and tester.

Ruby on Rails - Doc. Rails Searchable API Doc. AJAX on Rails 2.1 Tutorial. Advertisements Ajax stands for Asynchronous JavaScript and XML.

AJAX on Rails 2.1 Tutorial

Ajax is not a single technology; it is a suite of several technologies. Ajax incorporates the following: XHTML for the markup of web pagesCSS for the stylingDynamic display and interaction using the DOMData manipulation and interchange using XMLData retrieval using XMLHttpRequestJavaScript as the glue that meshes all this together Ajax enables you to retrieve data for a web page without having to refresh the contents of the entire page. When you interact with an Ajax-powered web page, it loads an Ajax engine in the background. For a complete detail on AJAX you can go through our AJAX Tutorial Rails has a simple, consistent model for how it implements Ajax operations.

Here is a typical sequence of activities: While discussing rest of the Rails concepts, we have taken an example of Library. In this example we will provide, list, show and create operations on subject table. This is bit new here. We will action see it in a moment. Ruby Regular Expressions. Ruby. Z Wikibooks, biblioteki wolnych podręczników.

Ruby

Ruby to interpretowany, w pełni obiektowy język programowania stworzony przez Yukihiro Matsumoto (pseudonim Matz). W języku angielskim ruby oznacza rubin. Od roku 2003 lawinowo zdobywa nowych zwolenników, głównie za sprawą popularnego frameworku do tworzenia aplikacji webowych o nazwie Ruby on Rails, tworzonego przez grupę programistów pod kierownictwem Davida Heinemeiera Hanssona. W roku 2005 według statystyk sklepu Amazon dwie najpopularniejsze książki na temat Rubiego i Ruby on Rails były najlepiej sprzedawanymi pozycjami z kategorii Programowanie. Punktem wyjścia dla niniejszego podręcznika stała się książka Marka Slagella "Ruby's User Guide" udostępniona na licencji GNU Free Documentation License. Rubular: a Ruby regular expression editor and tester. Język programowania Ruby.

Ruby Basic Tutorial. Troubleshooters.Com, Code Corner and Ruby Revival Present Ruby Basic Tutorial Copyright (C) 2005 by Steve Litt Note: All materials in Ruby Revival are provided AS IS.

Ruby Basic Tutorial

By reading the materials in Ruby Revival you are agreeing to assume all risks involved in the use of the materials, and you are agreeing to absolve the authors, owners, and anyone else involved with Python Patrol of any responsibility for the outcome of any use of these materials, even in the case of errors and/or omissions in the materials. If you do not agree to this, you must not read these materials. To the 99.9% of you honest readers who take responsibility for your own actions, I'm truly sorry it is necessary to subject all readers to the above disclaimer. Alchemy_of :ruby, :rails. Jarosław Rzeszótko. Ruby on Rails Guides.