Ransack error in production NoMethodError (undefined method `search' for

Only in production I get NoMethodError (undefined method `search' for...... ransack gem is in my gem file, and after deploying I have restarted my app on VPS.

I tried to type

grep ransack Gemfile.lock

in the root of my app on VPS, and receive

ransack (0.7.2)

On local and remote machine I'm using ruby v 2.0.0-p0


I figured out this on my own. It was simple, just like on local development environment.

cap deploy:stop


cap bundle:install


cap deploy:start

and it works :)

Need Your Help

How to collapse HTML whitespace?

ruby ruby-on-rails-3 sanitization

Moderators: Before you vote to close this question, please ask yourself: "Am I voting to close this because someone else did before, or because it genuinely isn't a valid question?"

Export DataGridView data to excel

c# excel datagridview export

In my application I'm exporting DataGridView data to excel sheet now I want to pass the combobox and textbox selected values to excel sheet and I have to give title to my excel sheet as Report for my

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.