Re: [Rails] Re: Re: Re: Rails 3 generate pdf

2012-03-20 Thread Bruno Coelho
Where did you put the file? Bruno Coelho Santiago On Tue, Mar 20, 2012 at 6:19 AM, Daisy Di wrote: > ranjan kumar wrote in post #1052406: > > you can find wkhtmltopdf here http://code.google.com/p/wkhtmltopdf/ > > i download wkhtmltopdf-0.9.9-installer.exe and install it, but

Re: [Rails] Re: Erro na página

2012-03-19 Thread Bruno Coelho
gems/linecache19 Bruno Coelho Santiago 2012/3/19 Bruno Coelho > Do you have RubyGems installed in your production machine? > When you run bundle install it not ask for password. > Try to install rvm, it is the easiest way to have RubyGems installed. > > Bruno Coelho Santi

Re: [Rails] Re: Erro na página

2012-03-19 Thread Bruno Coelho
Do you have RubyGems installed in your production machine? When you run bundle install it not ask for password. Try to install rvm, it is the easiest way to have RubyGems installed. Bruno Coelho Santiago 2012/3/19 Evandro Fioravante > Já coloquei a biblioteca GemFile, mas para roda

Re: [Rails] inheriter_resource gem is now deprecated.

2012-03-13 Thread Bruno Coelho
On Tue, Mar 13, 2012 at 5:50 AM, Mauro wrote: > Someone use or had used inherited_resource gem? > I find it very userful to not repeat code in simple crud applications. > The maintainer said that the gem is no longer maintained. > Using helpers like resource or collection, or collection_url, etc.

Re: [Rails] undefined local variable or method 'game'

2012-03-10 Thread Bruno Coelho
You are not passing the variable game to method 'email'. g = GameTrade.game_interest(user, game) Don't you have to do this? g = GameTrade.game_interest(user, @game) Bruno Coelho Santiago On Sat, Mar 10, 2012 at 3:50 PM, Roger Patrick wrote: > I am doing a web shop assignm

Re: [Rails] Can't start server, why?

2012-03-04 Thread Bruno Coelho
Open the file called Gemfile at the root of your project and add this line: gem 'therubyracer'. Save the file and run bundle install. Bruno Coelho Santiago On Fri, Mar 2, 2012 at 8:46 AM, ReynierPM wrote: > > $ rake environment > > (in /var/www/html/jobapp) > rake ab

[Rails] ActiveRecord:: DangerousAttributeError only in console

2011-08-01 Thread Bruno Coelho
strange thing is that if i put a log entry before that access (with an object inspect) i don't get that error anymore... Thank you so much guys. Bruno Coelho -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby