search for: gholap

Displaying 5 results from an estimated 5 matches for "gholap".

Did you mean: holap
2009 Sep 17
2
Can i use "form_remote_tag" inside the "form_tag"?
Hi all, How can i use form_remote_tag inside the form_tag helper . My application has following view subscribe.html.haml - form_tag :action => :subscribe do /other form element %input{:type=>''radio'', :name=>''tariff_plan_id'', :value=>"monthly"} %input{:type=>''radio'',
2009 Feb 13
4
How to get first 10 items from hash in ruby?
Hello All, I am new to programming, i have little problem with hash. I want to retrieve first 10 items(key value pairs) from given hash{} hashTable = {"a" => 1, "b" => 5, "c" => 2, "d" => 6, "e" => 4, "f" => 7, "g" => 9, "h" => 5, "i" => 1, "j" => 8, "k"
2009 Feb 23
0
How to invalidate the model caching in ruby?
Hello All, I used rails caching to cache the model as in model language.rb file def self.cached_languages return Rails.cache.fetch(''languages'') { Language.all } end Now I want to add/delete some new language to database. So when the table "languages" changes it should reflect in view. For that I want to invalidate the cache. please tell me How i do that?
2009 May 29
0
steps for creating rails engine ?
Hi all, I want to create a small rails engine (like community engine) which require me in future''s project also. but I don''t know how? Is it same as creating a rails application and merge that in another application.? What are the steps for creating rails engine? please give me related link also if possible. Thanks, Vikas. -- Posted via http://www.ruby-forum.com/.
2009 Jul 30
0
How to print data with out rendring page?
Hi all, I have following code in haml form that print current webpage I call this page from another page like user profile page like =link_to ''Print'', print_user_path(@user) this calls "print.html.haml" print.html.haml ------------------------------ %script print(); =ALL DATA TO PRINT -------------------------------------- PROBLEM IS THAT : I want to print