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
def create
# SWFUpload upload
if params[:Filedata]
...
Ruby Huge create action
by Kevin Ansfield,
April 29, 2010 07:53,
2 refactorings, tagged with rails, paperclip, create, swf_upload
Inherited this from an olde...
I want to avoid the abuse o...