Posts by Emanoel Lopes • 31 points
5 posts
-
0
votes2
answers1619
viewsA: How do CSS rules take precedence?
One way to go up in precedence is to add ! Important to the end of the attribute. ex: th.td_student{ background-color: #000 !important; } Here was needing to overwrite a color statement declared in…
-
0
votes1
answer264
viewsA: Problems running the Rails server with Vagrant
Rafael, Already configured the ports in Vagrantfile? config.vm.network :forwarded_port, guest: 3000, host: 3000
-
1
votes2
answers992
viewsA: How to update Gem in windows?
I believe your problem is solved by reinstalling rubygems: Download the Rubygems in zip format Access the directory where you unzipped rubygems Execute ruby setup.rb Test running the update gem…
-
1
votes1
answer41
viewsA: Wisper as an alternative to the Observer Design Pattern on Rubyonrails
We did. The code is available in: https://github.com/emanoelopes/cp2-rails/tree/master/cp2-caelum-apostila/vota_prato…
ruby-on-railsanswered Emanoel Lopes 31 -
1
votes1
answer41
viewsQ: Wisper as an alternative to the Observer Design Pattern on Rubyonrails
I’m trying to implement the Wisper as an alternative to the Observer Design Pattern that was discontinued from Ruby. The error is: Wrong number of Arguments (Given 1, expected 0) The method I…
ruby-on-railsasked Emanoel Lopes 31