[Solved] How do I fix Rails RuntimeError Current ExectJ doesn’t support ES5?

The main problem was in your Gemfile here gem ‘therubyracer’, platforms: :ruby gem ‘mini_racer’, platforms: :ruby You had two racer type gems, you only need one. You should just use gem ‘mini_racer’ and get rid of therubyracer. Do that and run bundle install. You will also need to clean up merge conflict stuff left in … Read more

[Solved] What are the best option for a pager when building on Rails? [closed]

You can copy kaminari’s views into your app/views and edit _paginator partial. For example, change this: == paginator.render do nav.pagination = first_page_tag unless current_page.first? – each_page do |page| – if page.left_outer? || page.right_outer? || page.inside_window? == page_tag page – elsif !page.was_truncated? == gap_tag = last_page_tag unless current_page.last? to that: == paginator.render do nav.pagination = prev_page_tag … Read more

[Solved] What is a RESTful style resource?

You can find a list of them here. The actions specifically are index, new, show, edit, destroy, create, update. The idea is there is a lot of boilerplate in general for these actions (find/authorize) and this aims to simplify that. solved What is a RESTful style resource?