rails

TwitterFacebook
Get flash to fully experience Pearltrees

Data on Rails - Google Data Protocol - Google Code

http://code.google.com/apis/gdata/articles/gdata_on_rails.html Motivated by the ferocious appetite of our developers and the enduring popularity of Ruby on Rails (RoR), my colleague Jeff Fisher has forged a Ruby utility library from the fiery depths of Mount Doom. Mind you, it's not a full-blown client library, but it does handle the fundamentals like authentication and basic XML manipulation. It also requires you to work directly with the Atom feed using the REXML module and XPath.
http://stackoverflow.com/questions/8338127/showing-google-calendar-events-in-rails-view The code you posted worked in earlier versions (0.3.x) of GCal4Ruby, if I'm not mistaken. You probably have a more recent version of the gem and you're getting that error. Some things have changed in the gem... I'll try to go through a few (hopefully that will fix your errors).

showing google calendar events in rails view - Stack Overflow

http://rubylive.fr/ Un petit coup de pub pour Ruby Lugdunum 2012 (a.k.a Rulu), la conférence Ruby made in France de l'année. La liste des 14 orateurs vient d’être publiée. Cela a été vraiment difficile de choisir parmi les 52 propositions venues de toute l’Europe et des US.

Toute l'actualité Ruby en français | RubyLive

You can find below a sample code implementing OAuth2 and an access to the ‘/me’ endpoint. The script will redirects you to the Viadeo OAuth2 authentication page, just enter some Viadeo credentials and you will be redirected to ‘https://api.viadeo.com/me’ with the accesss_token set. This samples runs with Ruby 1.8 + Rails 2.3.4. Note : Error catching is here minimal, you have to implement a better error management. Please also note than if you activate cookies, the authentication session of the user will be kept.

Ruby sample code | Viadeo API

http://dev.viadeo.com/documentation/tools-and-samples/sample-codes/ruby-sample-code/

Learn by Doing - Code School

http://www.codeschool.com/ Play Level 1 Free Now By: Jason Vanlue & Drew Barontini We look at how to build sites and applications with the universal web in mind, using mobile-first, adaptive, and responsive web design. Read More

Full text search in in Rails with Sunspot and Solr « TechBot

Everyone wants to take their databases to run everything as fast as possible. We usually say query less, add more caching mechanisms, add indexes to the columns being searched, but another solution is not to use the database at all and look for better solutions for your querying needs. When querying for text in our databases, we’re often doing “LIKE” searches. Like searches are only performant if we have an index in that field and the query is written in a way that the index is used. Imagine that you have a field “name” and it contains the text “Battlestar Galactica”. This query would be able to run and use the index: http://techbot.me/2011/01/full-text-search-in-in-rails-with-sunspot-and-solr/
While SQL databases are insanely useful tools, their monopoly of ~15 years is coming to an end. And it was just time: I can't even count the things that were forced into relational databases, but never really fitted them. But the differences between NoSQL databases are much bigger than it ever was between one SQL database and another. This means that it is a bigger responsibility on software architects to choose the appropriate one for a project right at the beginning. http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis

Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison :: KKovacs

http://ofps.oreilly.com/titles/9780596521424/ You are reading the text of an O'Reilly book that's under development. The authors are publishing the book to this site as it's being written, and we're putting it here to get feedback from you. This book uses the Open Feedback Publishing System (OFPS) , an O'Reilly experiment that tries to bridge the gap between private manuscripts and public blogs. Rails in a Nutshell is a concise introduction to Rails, an overview of commands and configurations, and a guide to the parts of Rails you’ll be using every day. Full of examples and explanations, this book kicks your skills into high-gear by showing you how to take advantage of the Model-View-Controller concept with tiny but expressive bits of Ruby that power some of the world’s biggest and fastest web services. Fast to launch and a pleasure to get there are hallmarks of working with Rails.

Rails 3 in a Nutshell

So, what components are we going to need to build a dynamic sitemap? Well, we are going to need a separate action (or even controller), an XML view and model methods to provide us with URL data. Let's start from creating the Sitemap controller and its index action: $ script/generate controller Sitemap index Above code will create the app/views/sitemap/index.html.erb file, but we need to change its extension to rxml . The reason is that we need an XML view, not an HTML view as usual.

Generate Sitemap in Rails

http://lukaszwrobel.pl/blog/generate-sitemap-in-rails
A couple of years ago a lot of buzz started in the Ruby community about Erlang , a functional programming language developed by Ericsson originally for use in telecommunications systems. I was intrigued by the talk of fault tolerance and concurrency, two of the cornerstones that Erlang was built on, so I ordered the Programming Erlang book written by Joe Armstrong and published by the Pragmatic Programmers and spent a couple of weeks working through it. A year later, Kevin Smith began producing his excellent Erlang in Practice screencast series in partnership with the Pragmatic Programmers. It’s amazing how much difference it made for me to be able to watch someone develop Erlang applications while talking through his thought process along the way. As I was learning Erlang, I kept threatening to rewrite the poller service that handles updating Campfire chat rooms when someone speaks in room.

Nuts & Bolts: Campfire loves Erlang. - (37signals)

http://37signals.com/svn/posts/1728-nuts-bolts-campfire-loves-erlang