search for: javierqq

Displaying 6 results from an estimated 6 matches for "javierqq".

2011 Oct 26
6
Add an index to a form
Hello, I''m having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there''s a step called "children" and that children has the following fields: * name * age * gender but one father may have more than 1 child and I''m adding another form with
2011 Dec 05
12
Using nokogiri
HI, I want to grab some information about university names, and I found this term called "web scraping" I search about it in google, and there are tools in ruby. One of them is nokogiri but I''m a bit confused because it seems that it only gets information that its already in an html or xml I found a webpage that have a list of university names as a <select>
2012 Jul 08
2
How to add a content to an email created with ActionMailer. mail(..,:body) and do |format| either
Hello, I am using ActionMailer and rails 3.0.9 and I want to add a content to an email that the user has entered but when I write: mail(...,:body=>"Something") I can''t send the email. I tried mail(....) do |format|
2011 Oct 10
2
Collection_select
Hi, I''m new using RoR and I have a ... trouble with f.collection.select What I have in a table is ... for example group code GroupA 07A GroupA 08A GroupA 10B GroupB 06A GroupB 11B GroupB 07B GroupC 10A GroupC 09A GroupC 09B when I use <%= f.collection_select :grupo, Equipo.find(:all), :id, :name, prompt: ''Choose a Group'' %>
2011 Nov 06
2
Ruby on Rails 3.1 Installation tutorial for Ubuntu (versions 11.04, 11.10) and Linux Mint (version 11) - download or read online if you need it
After several weeks of messing with Ruby on Rails on Ubuntu I made this 34 pages PDF installation tutorial which covers: - Ruby on Rails default installation (Ruby 1.9.2, Rails 3.1, WEbrick web server, SQLite3 database) - Ruby on Rails advanced installation (Ruby 1.9.2, Rails 3.1, Apache web server, MySQL database) I am total beginner with Ruby on Rails (and a beginner with Ubuntu Linux) -
2011 Dec 13
3
Validates presence
Hi everyone, I just need a quick help :) What is the best way to write some code in :presence option? I have a Question model and one of the fields is question_type: - example question - static question Each question has alternatives, and each of them has scores What I want is to validate the presence of :score, but when its only on the static question. I dont want to validate the presence