
Featured
-
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi -
List of Top 10 Node.js Frameworks for Beginner Web Developers
JavaScript is one of the most popular language for
by nishant.mishra
Tags
Passing parameters to rails partials
While rendering a partial if we want to send parameters to the partial we can do it like this:
<%= render :partial => user_profile_list, :locals => { :user => @user } %>
or
<%= render :partial => "user_profile_list", :...
Helpers
Helpers in rails framework are live example of modules of ruby. The methods which are defined in helpers are available to the templates(view) by default. These helpers are called template helpers. Some examples are 1)date_helper.rb has methods li...