Website bug in Ruby on Rails


I need to solve a bug with my website [url removed, login to view]

Right now the application shows best images of today, yesterday and 3 days before:

"@firstday = 0

if params[:page].blank?

@images[0] = Image.top_of_day(@firstday).limit(MAX_IMAGES).all.to_a

@images[1] = Image.top_of_day(@firstday + 1).limit(MAX_IMAGES).all.to_a

@images[2] = Image.top_of_day(@firstday + 2).limit(MAX_IMAGES).all.to_a


@images = Image.top_of_day(@firstday + @page).limit(MAX_IMAGES).all.to_a



-If I don't upload images in 3 days that reached a popular status then the index just show an empty page.

-The idea of the application is being able to scroll down and seeing galleries until the first day images were uploaded. Nevertheless when I skip a day uploading images then I can only scroll untill reaching that day (I can not continue to scroll down and see previous days popular images)

-The same problem described above also happens with the mini-gallery [url removed, login to view] If skip a day then I can only browse in the mini-gallery to the day skipped (the idea with the minigallery is also to being able to browse it continually until the first image ever uploaded that reached popularity)


-The index always shows the three galleries of the last days images were uploaded and reached popularity (ex. If users only upload images three times in a year show those three days popular images)

-Users always being able to scroll down and see images of past days until the reaching the first day the application started (even if in various days images are not uploaded)

--Users always being able browse mini-gallery and see previous images until reaching the first image to reach popularity ever (even if in various days images are not uploaded)

Beceriler: Ruby on Rails

Daha fazlasını gör: solution reach, ruby on rails last, gy, rails page, ruby rails upload images, ruby rails image, ruby rails application, rails solution, upload image rails, rails image upload, blank images, ruby rails real estate website, image gallery scroll, ruby upload, ruby rails price comparison website, rails upload image, past days status, move html website rails ruby, bug day, browse page image problem, website images scroll, scroll jpg image, scroll image right website, gallery problem uploading, rails upload limit

İşveren Hakkında:
( 0 değerlendirme ) Bogot, Colombia

Proje NO: #4434247

Bu iş için 6 freelancer ortalamada $144 teklif veriyor


I'm interested.

in %bids___i_period_sub_35% gün içinde154%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(37 Değerlendirme)

Won't be a problem changing the logic if it's just simple ActiveRecord change.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(11 Değerlendirme)

Hey Juan, These are just a few minor problems, I could have it solved in a few hours. Let me know if you want to proceed. Regards, Eric

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

Hi, Veltrod Software services is a global software consulting company specialized in providing Mobile applications, Social media frameworks and eCommerce solutions. Leveraging best-in-class people, processes, and t Daha Fazla

in %bids___i_period_sub_35% gün içinde257%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

3+ years rails development experience

in %bids___i_period_sub_35% gün içinde140%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

It's easy for me to fix this problem

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)