Displaying 4 results from an estimated 4 matches for "alfamemoria".
2012 May 28
4
How to load a selection list into the method new of a controller?
Hi friends!
I''m relatively new with Rails and I''m struggling for a long time with this 
problem (it should have a pattern solution but until now I didn''t find it): 
I have the following models: Institution, City, State and Country.
class Country < ActiveRecord::Base
  has_many :states
  has_many :cities, :through => :states
end
# == Schema Information
# Table
2010 Jul 09
2
Template is missing.... but it is there!
Hello friends!
I have an application to list different kinds of institution names. So
I have one table "instits" for the institutions and another table
"nome_instits" for their names. For test, I put two rows inside
"instits" and three names for the first institution and two names for
the last. Then I created this controller:
class ServInstitController <
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
Dear friends,
I followed the guide on 
http://techoctave.com/c7/posts/16-how-to-host-a-rails-app-with-phusion-passenger-for-nginx 
and successfully deployed two apps on the same web server, some months ago.
Then when I upgraded to Rails 2.3.13.rc1 everything seems to be OK, but 
when I visit my app with the browser all that I get is the Welcome page 
from Nginx.
Here is my nginx.conf:
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy!
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano"             # Load RVM''s capistrano plugin.
set :rvm_ruby_string, :local         # Or whatever env you want it to run 
in.  ''1.9.3''
set :domain, ''www.xxx.com''   
set :application,