Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-14 Thread Antonio Arcos
I didn´t check the database because I can see in the file schema, but How can I access to database??. The app doesn´t load and when I check the log file, it returns me this: Started GET / for 141.21.37.37 at 2014-04-11 15:17:00 +0200 Processing by Refinery::PagesController#home as HTML

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-14 Thread Colin Law
On 14 April 2014 08:38, Antonio Arcos elchatarrerode...@gmail.com wrote: I didn´t check the database because I can see in the file schema, but How can I access to database??. The app doesn´t load and when I check the log file, it returns me this: You are still top posting, I would prefer if

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-14 Thread Antonio Arcos
The app nerver works, It doesn´t new deploy, the app is a little web page but when I try to load, it doesn´t work. Thanks for all. Antonio -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-14 Thread Colin Law
On 14 April 2014 10:09, Antonio Arcos elchatarrerode...@gmail.com wrote: The app nerver works, It doesn´t new deploy, the app is a little web page but when I try to load, it doesn´t work. What don't you understand about not top posting? Any more top posted messages will be binned by me. Also

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-14 Thread Maese
even if the table is missing,,the server use to start, try to delete the model, check if the server start, if do it, begin to write the model, and restart the server after write a line, with that you can see what is crashing the server -- You received this message because you are subscribed

[Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Antonio Arcos
Hello developers, I am in trouble. When I load my web page, it returns we're sorry, but somethig went wrong and then I have seen my log and it returns this error: Started GET / for 141.21.12.238 at 2014-04-11 09:39:10 +0200 Processing by Refinery::PagesController#home as HTML

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Colin Law
On 11 April 2014 08:51, Antonio Arcos elchatarrerode...@gmail.com wrote: Hello developers, I am in trouble. When I load my web page, it returns we're sorry, but somethig went wrong and then I have seen my log and it returns this error: Started GET / for 141.21.12.238 at 2014-04-11 09:39:10

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Antonio Arcos
Yes I have the table in the database but I do not why it don´t found. here my role.rb: module Refinery class Role Refinery::Core::BaseModel has_and_belongs_to_many :users, :join_table = :refinery_roles_users before_validation :camelize_title validates :title, :uniqueness = true

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Colin Law
On 11 April 2014 14:07, Antonio Arcos elchatarrerode...@gmail.com wrote: Yes I have the table in the database but I do not why it don´t found. here my role.rb: How do you know that the table refinery_roles is in the db? Post the contents of db/schema.rb here. Colin module Refinery class

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Antonio Arcos
my schema contents: # encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note

Re: [Rails] Error ActiveRecord::StatementInvalid

2014-04-11 Thread Colin Law
On 11 April 2014 14:54, Antonio Arcos elchatarrerode...@gmail.com wrote: my schema contents: # encoding: UTF-8 ... ActiveRecord::Schema.define(:version = 20120717180765) do First could you not top post please, it makes it difficult to follow the thread. Thanks. The above looks strange,