Website bug in Ruby on Rails

Budget $30 - $250 USD
Bids 9
Average Bid $173
Status Closed


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)

Get Free Quotes For A Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • Tenpaiyomi Profile Picture


    Augusta,  United States

    Ruby on Rails Professional

  • taro Profile Picture


    Zmerynka,  Ukraine

    Working with ruby since version 1.8.5. Services: ruby application development and deployment. Time zone: UTC+2. Accessible via email (no Skype/IM).

  • ormus2002 Profile Picture


    LG,  Ukraine

    Ruby on Rails, JavaScript, MySQL

  • qariozconsulting Profile Picture


    Bandung,  Indonesia

    We have years of experience building and doing project management for various mainly build sites from scratch using frameworks such as Ruby on Rails or CakePHP, but we also build sites using various CMS such as Wordpress, Drupal, have worked with gazillion languages, server applications, configurations, libraries, rdbms, document based databases, text searching, gems, frameworks, extensions, snippets, addons, scripts, 3rd party API from major API provider (google amazon facebook) and obscure API providers, payment gateways and many more. We are very familiar with TDD, BDD, various methodology, optimizations tools (yslow pagespeed), monitoring tools (newrelic cacti monit), deployment and automation tools, web security, vertical and horizontal scaling, linux system administration, and cloud computing. We also offer Android and iOS app development.

  • ciphertech Profile Picture


    Nagpur,  India

    I hold 12 years experience of working in the IT industry and have worked for the worldwide clients. My experience includes 5 years of working in the USA. Since 2008, I am working as a freelance developer and till date I have worked with the clients from USA, Australia, UK and some countries in the Middle East. My core experience and expertise is in Ruby on Rails and I also work on mobile applications like Android and iOS. My core approach for innovation is visible in all the projects I have undertaken. Quality is my top most priority and I follow the best development techniques, like Agile, TDD/BDD, Rspec and more, to ensure high code quality. Client's satisfaction is my priority and I am committed to deliver the project on time and also provide timely updates to clients as per the pre-decided modules. I follow best development procedure for creating bug free websites and applications. I look forward to work with new clients and explore new verticals.

  • mvjohn100 Profile Picture


    Thrissur (Trichur),  India

    1998 onward in IT field and from 2009 onward in web development as a fully dedicated Ruby On Rails developer. Front end development with Twitter Bootstrap,jQuery and jQuery Mobile Behavior driven development with RSpec,Cucumber and jasmine Source Code Management using Git and GitHub Authentication using Devise,omniauth and Authorization using CanCan Deployment Management using Heroku,Passenger and capistrano ecommerce using spree and PayPal payment Gateway

  • getveltrod Profile Picture


    Chennai,  India

    Veltrod Technologies is a global software consulting company specialized in providing Mobile applications, Social media frameworks and eCommerce solutions. Leveraging best-in-class people, processes, and technologies, Veltrod provides high-quality software development and BPO services to independent software vendors and enterprises. We are specialized in developing and testing Mobile applications, Search Engine optimizations, Social Network framework development, Website design and Development.