search for: manivannan

Displaying 8 results from an estimated 8 matches for "manivannan".

2010 May 20
0
plugins error
...rdStore::Session.recent_activity_limit = 2.hours. finally i have started my server while i am getting following error /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:478:in `const_missing'': uninitialized constant CGI::Session (NameError) from /home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:52 from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'' from /home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:17 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_ori...
2011 Aug 07
2
PROBLEM WITH PAPERCLIP
hello, i am trying to upload a image file ...using paperclip in rails 3 i did as follows 1. In gemfile => included gem paperclip 2.In config/environments /development.rb => Paperclip.options[:command_path] = "/usr/bin/" (convert path) 3.created a controller *picusers *and defined => def create @picuser = Picuser.create(params[:picuser]) end 4.created a model *picuser
2011 Aug 04
1
how to create a mailer
hi, i got a problem in creating a mailer using rails g mailer UserMailer .. used to send a mail to the user entered e mail-id ...in the form. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send
2010 Jan 22
0
dynamic select menu doesn't work for 'form_tag'
Hi everyone, I have tried with the dynamic menu using "http://railscasts.com/episodes/88-dynamic-select-menus " site. i implemented and it was working fine for ''form_for'' tag. But i need to do the same function with ''form_tag'' as like as, <% javascript ''dynamic_states'' %> <%form_tag do%> <p> <label
2010 Aug 21
0
problem with date range search using acts as solr
Hi, i am struck up with solr''s date range search. I have used acts_as_solr plugin in my rails project. My model looks like acts_as_solr :fields => [:title,{:createdate=>:date}] No problem,if i used following date range search format => model.find_by_solr("createdate:[NOW-1DAY TO NOW+1DAY"] if i used following format =>
2010 Nov 17
1
How to enable div that was hide using JQuery
I Have used Ajax and JQuery link to enable new and close functionality problem scenario: * While using ajax link to open the new content and closing the same using Jquery link its working fine wherein the same does not happen again while we try to open the new content immediately after closing the "New content" * The above said works fine only while we refresh the page How to resolve it
2011 Nov 01
0
Rails 3 Multiple database with Joins conditions throws exception
My environment: Ruby 1.9.2p290, Rails 3.0.9 and RubyGem 1.8.8 unfortunately I have an issue when come across multiple database. The situation is this: I have two model connect with two different database and also establishing association between each other. database connection specifying in each model, look likes class Visit < ActiveRecord::Base self.establish_connection "lab"
2012 Jul 25
0
Rails3-default_scope throws exception: undefined method abstract_class? for Object:Class
I would like to apply logical delete in my application(Instead of permanently deleting a record just have been marked as deleted). I have Added *available* column to all tables with default value *true*. Now I want common place to write the following code for all models. 1. Write the instance method which make ''available'' column value false when user clicks on