def create allow_publish = logged_in? && @trend.allow_more_publishers?(params[:connection_id]) if allow_publish && !@trend.include_publisher?(params[:connection_id]) ...
Ruby what if I don't like too ma...
by edgarjs,
October 21, 2010 15:50,
4 refactorings, tagged with rails, conditions, associations, controller, create, build, ifs
last_vehicle = Vehicle.find(:first, :order => 'id desc') unless last_vehicle.blank? ...
Ruby Ruby on Rails reverse 'build'
In this scenario, a new Veh...
I want to avoid the abuse o...