Tags » Ruby On Rails

TOP 7 WEB DEVELOPMENT FRAMEWORKS

As a web developer, you might possess an Athenaeum of preferred web development frameworks. But if you are amongst the one who along with personal comfort looks for the latest trends, so as to move at the momentum parallel to technology, you need to be aware of the latest web development technologies and new web development frameworks and eventually implement them. 861 more words

Node Js

Running Particles.js in Rails

Prerequisites

  • Must be on a project that uses Ruby on Rails.
What is Particles.js? Step(s)

First off navigate to  273 more words

Programming

Using RSpec with Rails

I like using RSpec for testing. And adding it to the application at the beginning will make sure new spec files are created when we use the Rails generator to create resources. 390 more words

Ruby On Rails

Rails Fragment Caching

Caching Introduction

Caching means to store content generated during a request/response cycle and re-use the content when serving the same request.

Types of Rails Caching… 447 more words

Create unique id in link_to tag rails

Create unique id in link_to tag rails

<%= link_to "Edit", edit_question_path(question.id),method: :get, :remote => true, id: "myBtn_#{question.id}" %>

This is how you can create a unique id using #. 6 more words

Edit using ajax

Edit using ajax

Step 1: In your index.html.erb  Add

:remote => true, :class => 'class_name' in

app/views/controller_name/index.html.erb.

Like this,

 <%= link_to "Edit", edit_question_path(question.id),method: :get, :remote => true%> 181 more words

Delete using ajax and fade out

Delete using ajax and fade out

Step 1: In your index.html.erb  Add

:remote => true, :class => 'class_name' in

app/views/controller_name/index.html.erb.

Like this, 255 more words