Tag Archives: rails

C’est quoi Pow ?

Pour répondre à un commentaire, sur mon prétendent Post “Pow pour les nuls” :

Pour un développeur web 2 étapes dans la vie du projet :

  • Développement
  • Production

Read more »

Pow pour les nuls

Toutes les étapes pour avoir une machine avec un Pow et Zsh qui torchent ! :

  • Installer Pow
  • Installer OH MY ZSHELL!
  • Modification de la configuration par défaut
  • Et son utilisation
  • Bonus

Read more »

Techdays 2012 – Et ma session introduction à Ruby – CR

Ci-dessous les slides de la session.

Merci à tout le monde :

  • d’être venu
  • pour l’organisation
  • pour la logistique
  • etc, etc :)

Read more »

Techdays 2012 – Et ma session introduction à Ruby

Je participe cette année aux Techdays de Microsoft.

J’y anime une session d’introduction à Ruby :

Introduction à Ruby (INT102)

Pour suivre les Techdays en direct :

Get Microsoft Silverlight

Necessite Silverlight pour fonctionner.

Ressources Rails

A lire avant tout :

http://www.camilleroux.com/2010/08/16/pourquoi-ruby-on-rails-est-genial-1-sur-2/
http://www.camilleroux.com/2010/08/16/pourquoi-ruby-on-rails-est-genial-2-sur-2/

Ferrez-vous partit des + de 1830 zombies qui ont terminés (moi oui) ?
http://railsforzombies.org/

Et quelques bons articles pour démarrer :
http://jeremy.wordpress.com/2010/08/13/ruby-rvm-passenger-rails-bundler-en-developpement/
http://jeremy.wordpress.com/2009/11/13/monter-dans-le-train-de-ruby-et-rails/

Et le compte rendu du Rennes on Rails bar #12 :
http://www.rennesonrails.com/?p=288

ROR #1 – Installer la base

Installer les éléments de base pour développer en Rails :

echo 'rvm --create use default@rails > /dev/null' > .rvmrc
cd ; cd -
gem install rails rspec-rails cucumber-rails capybara web-app-theme

Ruby On Rails : undefined local variable or method `end_form_tag’

I try this in Ruby On Rails (ROR) :

<%= form_remote_tag %>
<%= end_form_tag %>

But I have this error :

undefined local variable or method `end_form_tag' for #

I search a lot of time this Week-End (without) Internet.

I found a solution here :
http://ajzone.wordpress.com/2008/03/11/ruby-on-rails-202/

First replace :

<%= end_form_tag %>

With :

<%= end %>

Because “end_form_tag” is deprecated. But after this correction I have this error :

compile error
/home/nico/testror/app/views/test/index.html.erb:1: syntax error, unexpected ')'

Add a do the the form tag:

<%= form_remote_tag do %>

And now there are:

compile error
/home/nico/testror/app/views/test/index.html.erb:2: syntax error, unexpected kEND

Transform this:

<%= form_remote_tag do %>
<%= end %>

To:

<% form_remote_tag do %>
<% end %>

The error come from the "=" char.