daphonz wrote:
> Have you tried using:
> 
> rake db:migrate RAILS_ENV=production
> 
> -c
> 
> On May 18, 12:35�pm, Jorge alejandro Mendoza torres <li...@ruby-

I already tried the instruction and the migrations were made in the 
production database.

But I have another problem, I had a record and I inserted others three 
records to my table, if I make a search and I want to find one of three 
new records, I can't find it, for instance:

var = Table.find(:first, :conditions => ["id_oficina = ?", 
clave[i].to_i])

In my table, all records exist.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to