https://www.facebook.com/groups/rubyonrailsbrasil
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2015-07-31 20:49 GMT+02:00 Pedro Sivero pedro.wewa...@gmail.com:
Você sabe Ruby
, that means
*TestDelay.delay.**start_worker,* is there any issues?
On Tuesday, 7 April 2015 03:29:21 UTC+4, Alexandre Calvão wrote:
This is totally the wrong way of doing this.
You are breaking the MVC pattern.
Neither the worker or the model should access the controller functions.
You
This is totally the wrong way of doing this.
You are breaking the MVC pattern.
Neither the worker or the model should access the controller functions.
You should put all the logic related to the delay job, inside the worker or
in separated classes.
I like to have a worker classe inside the app
I think that you will install an app on your cellphone that will provide
all that information to a server.
It makes more sense.
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
I wrote this about it.
http://www.toptal.com/ruby-on-rails/a-year-with-webrtc-lessons-in-startup-engineering
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2014-12-08 7:54
Foo.instance_eval do
def class_name
self.name
end
end
class Bar Foo
end
class Tar Foo
end
puts Foo.class_name
#= Foo
puts Bar.class_name
#= Bar
puts Tar.class_name
#= Tar
On Thursday, October 9, 2014 8:27:10 PM UTC-7, Alexandre Calvão wrote:
Is not instance method
Is there a way for me to do that on ruby ?
class Foo
def self.class_name
self.class.name
end
end
class Bar Foo
end
class Tar Foo
end
Bar.class_name
= 'Bar'
Tar.class_name
= 'Tar'
I want to get the class name of the class who called the instance method
from the parent class.
I
Is not instance method, is class method... My bad
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2014-10-10 0:17 GMT-03:00 Alexandre Calvão apot...@gmail.com:
Is there a way
From the carrierwave documentation
%= form_for @user, :html = {:multipart = true} do |f| % p
labelMy Avatar URL:/label%= image_tag(@user.avatar_url) if
@user.avatar? %%= f.text_field :remote_avatar_url % /p% end
%
It means that the parameter avatar should have the '_url' sufix.
You
It also requires the 'remote' prefix.
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2014-10-03 12:19 GMT-03:00 Alexandre Calvão apot...@gmail.com:
From the carrierwave
Adham,
The code I posted was just to show you that Carrierwave requires that you
add a suffix remote_ and a prefix '_url' to the parameter managed by
carrierwave, in order for it to work with urls.
In your case the following code is not doing that, you are passing the the
parameter 'avatar'
Try using scope
http://guides.rubyonrails.org/active_record_querying.html#scopes.
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2014-09-24 12:52 GMT-03:00 Jason Fleetwood-Boldt
I don't think you understand the concept of databases very well.
Look on google how to use the seeds.rb file. Maybe that will help
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
https://www.facebook.com/groups/rubyonrailsbrasil
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
Em 9 de dezembro de 2013 08:50, Stélio Moiane steli...@gmail.com escreveu:
Bom
Try linkedin.
Facebook it is also a great option for hiring developer.
http://www.facebook.com/groups/2211785751/
But, for what I can say, it would be very difficult to hire someone with
this specifications.
The professionals here prefer remote jobs.
===
*Alexandre Mondaini
http://railscasts.com/episodes/54-debugging-with-ruby-debug
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2013/2/11 Venkat Vejandla li...@ruby-forum.com
Hi Friends,
How to
mail me so we can talk
apot...@gmail.com
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2013/1/28 Sep D. li...@ruby-forum.com
Hi guys,
I am looking for a job as a Ruby On
http://railscasts.com/episodes/88-dynamic-select-menus-revised
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2012/9/30 Colin Law clan...@googlemail.com
On 30 September 2012
I would use cancan.
https://github.com/ryanb/cancan/wiki/Authorizing-Controller-Actions
if valid(params[:token])
authorize! :show, @stuff
end
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*.
simple_form does that
https://github.com/plataformatec/simple_form
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2012/9/29 ruby rails li...@ruby-forum.com
I have a Task
lol
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
2012/9/7 Geoff goo...@tidey.net
Hi, two of my key skills are killing being invisible. Do I get the job?
:P
--
You received
This plugin looks outdated.
Try to use this one
https://github.com/spohlenz/tinymce-rails.
And remember to use the html_safe method to show the content, otherwise
rails will not display as html.
2012/7/6 Ichiro Saga li...@ruby-forum.com
Hi, guys. I created a new a Rails 3 program to test
22 matches
Mail list logo