search for: p334

Displaying 9 results from an estimated 9 matches for "p334".

Did you mean: 334
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...y script/generate paperclip group_post photo` worked perfectly fine for me. The current error I am getting exactly looks like this:- undefined method `has_attached_file'' for #<Class:0xb67119f0> The **Application Trace** for the same is:- /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing_without_paginate'' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in `method_missing'' app/models/group_post.rb:9 app/controllers/groups_controller.rb:27:in `show'' The **Ful...
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
...<%= link_to ''New post'', new_post_path %> This is what I get doing a **tail -f log/development.log** ActionController::RoutingError (No route matches "/photo/4/original/ruby-on-rails.jpg" with {:method=>:get}): /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/acti...
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
...project app is some how not able to detect the jquery.form.js file.... The exact error I am getting is something like this from my log:- ActionController::RoutingError (No route matches "/javascripts/jquery.form" with {:method=>:get}): /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/acti...
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
...g message/details:- mohnish@mohnish-desktop:~/pocs_tried_for_use/postimage_poc3$ rake middleware --trace (in /home/mohnish/UP/pocs_tried_for_use/postimage_poc3) rake aborted! Don''t know how to build task ''middleware'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/ rake.rb:1728:in `[]'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/ rake.rb:2050:in `invoke_task'' /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/ rake.rb:2029:in `top_level'' /home/mohnish/.rvm/gems/ruby-1.8.7-p33...
2011 Mar 05
0
[Fwd: Re: Centos 6 - What are you looking forward to?]
...> > +1 I solved this problem on my 5.5 servers in the following manner: login: not_as_root_user . . . $ # Add rpmforge repos to yum per: $ # http://wiki.centos.org/AdditionalResources/Repositories/RPMForge $ sudo yum install checkinstall $ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.7-p334.tar.gz $ # to get latest or most desired source change version as required $ tar -xzf ruby-1.8.7-p334.tar.gz $ # expand source archives in /tmp $ cd ruby-1.8.7-p334 $ # change to source directory $ ./configure $ # configure makefile for this host $ make $ # build the Ruby VM $ checkinstall $ # pack...
2011 Mar 30
15
Should AR set default values obtained from the schema?
...9; as a valid default value for a timestamp column. Consequently AR is attempting to insert a NULL into a column that has a NOT NULL constraint. This fails. I cannot code around this because the datetime class in Rails does not recognize ''infinity'' as a valid value. ruby-1.8.7-p334 :003 > x.expected_at = ''infinity'' => "infinity" ruby-1.8.7-p334 :004 > x.save ActiveRecord::StatementInvalid: PGError: ERROR: null value in column "expected_at" violates not-null constraint To me, it seems both redundant and intrusive to handle colu...
2011 May 04
1
is not allowed as an instance variable name error
...d/_details_view.haml: searchlogic (2.4.27) lib/searchlogic/rails_helpers.rb:75:in `fields_for'' searchlogic (2.4.27) lib/searchlogic/rails_helpers.rb:64:in `form_for'' app/helpers/builders_helper.rb:68:in `details_view'' /home/app-sptr/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'' app/other/restful_component.rb:488:in `new_html'' app/other/restful_component.rb:73:in `new'' app/other/restful_component.rb:72:in `new'' /home/app-sptr/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb...
2012 Mar 07
8
Puppet Agent on Windows - High CPU Usage
I recently noticed that the Windows host where I installed the Puppet agent for testing was thrashing the CPU. The culprit ended up being Ruby.exe *32 - "Ruby interpreter (CUI) 1.8.7.334 [i386-mingw32]". This is actually being launched by the puppet-agent service in Windows. The CPU on the host was pegged around 50% all day long. When I shut down the puppet-agent it went down to a
2011 Jun 06
0
Multiple Postgres idle connections
...connections every an amount of time (~20 min or so). So, I''d like to configure the ruby program to kill the idle DB connections every an amount of time. Question: is there some way to configure the "idle timeout" via a configuration file (database.yml) for Postgres? [ruby v1.8.7-p334, postgres v8.2.15, rails v3.0.7] Thanks. -- 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, sen...