Posts by André Ventura • 83 points
11 posts
-
1
votes2
answers268
viewsA: Error 500 when accessing page Edit, ruby 1.9.2, Rails 3.2.13
sorry the disorder, in this specific case, due to some reason my debug screen was not working properly could not diagnose that, the problem was the route method "_path()", grateful for the attention…
ruby-on-railsanswered André Ventura 83 -
0
votes0
answers27
viewsQ: Rails 3 does not show ruby debug page 1.9.2
My Rails project no longer shows the debug page after I changed the machine project. How do I make such a page appear again?
-
0
votes2
answers268
viewsQ: Error 500 when accessing page Edit, ruby 1.9.2, Rails 3.2.13
I have an application in Rails that just after loading the page Edit.html.haml rendering the layout returns me an error 500, the table in BD has only one record and is linked to the other table…
ruby-on-railsasked André Ventura 83 -
2
votes1
answer68
viewsQ: Parse error on Less, says my class/mixin is not defined
I’m using ruby 1.9.2 and Rails 3 and Gem Less 2.6.0. I’ve already imported ruby mixins and the variables and yet the error persists. Less::Parseerror: #gradient > . vertical is Undefined Excerpt…
-
0
votes0
answers60
viewsQ: javascript error, behavior/general.js
have the following error accusing in browser developer mode Uncaught TypeError: undefined is not a function general.js:1549 init general.js:1549 (anonymous function) login:542 c jquery.js:4…
-
0
votes0
answers37
viewsQ: Error unefined method acts_as_authentic for main:Object
My application worked very well until today, but now when starting it presents this error: unefined error method acts_as_authentic for main:Object Follows my code fromact_as_authentic in the user…
-
2
votes1
answer56
viewsQ: How to download a BD from the console?
I need to download a database on my machine, but it can’t handle Mysql Workbench. Is there any other program lighter than Workbench or which commands for me to download the BD I want?
-
0
votes1
answer26
viewsA: Maintain style while taking link_to
turned out I couldn’t take the link_to, so I just changed the route.
ruby-on-railsanswered André Ventura 83 -
0
votes1
answer26
viewsQ: Maintain style while taking link_to
I’m having difficulty maintaining the style of a button by removing the link_to and keeping only raw: =link_to(raw("<span class='calsse'></span>"), rota) for: =raw("<span…
ruby-on-railsasked André Ventura 83 -
1
votes3
answers160
viewsA: bg-image internationalization by CSS
what worked was to create 2 blocks of code within the same css file: class-br{ atributos-br } class-en{ atributos-en } and use the class attribute in haml by assigning the locale as variable:…
-
1
votes3
answers160
viewsQ: bg-image internationalization by CSS
I have a Rails project that needs different images for each language, however and image is pulled from CSS and I can’t change that. How to change the image according to the chosen language?…