I have an application in rails that immediately after loading the edit.html.haml page rendering the layout gives me a 500 error, the table in the DB has only one record and is linked to another table (credentials / authorization system) I'm running the application in a bridge-mode VM on linux mint 17 rebecca
edit 1 follows the console output right after the roles are loaded:
Started GET "/clients/new" for 192.168.1.161 at 2015-03-12 18:28:23 -0300
Processing by ClientsController#new as HTML
User Load (0.2ms) SELECT 'users'.* FROM 'users' WHERE 'users'.'id' = 2 LIMIT 1
(0.1ms) BEGIN
(0.2ms) UPDATE 'users' SET 'last_request_at' = '2015-03-12 21:28:23', 'perishable_token' = 'zJ6WIgsox0VkSEzRwGlr', 'updated_at' = '2015-03-12 21:28:23' WHERE 'users'.'id' = 2
(1.4ms) COMMIT
Role Load (0.1ms) SELECT 'roles'.* FROM 'roles' INNER JOIN 'roles_users' ON 'roles'.'id' = 'roles_users'.'role_id' WHERE 'roles_users'.'user_id' = 2 AND 'roles'.'name' = 'admin' LIMIT 1
Rendered clients/_form.html.haml (5.9ms)
Rendered clients/new.html.haml within layouts/application (7.0ms)
Completed 500 Internal Server Error in 18ms