similar to: plugin path

Displaying 20 results from an estimated 10000 matches similar to: "plugin path"

2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello, I have bought the Dave Thomas Agile Developtment with Rails. (I have previously bought and read his Programming with Ruby book) On my winxp sp2 system ruby 1.8.15 (one click installer), rails 1.0framework (with ruby gems) and mysql 5.0 are installed. While following the example stated in the Chapter Building an Application I had following problem. After creating databases for test,
2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
My application, a very simple general ledger, that worked very well until June 26 does not work any longer. It is used under Ubuntu 12.04 and I believe there was a Ruby update after that. What happens? When I try to start the appIication I get the following output in my web browser: ActionDispatch::Session::SessionRestoreError Session contains objects whose class definition isn''t
2009 Jun 09
3
NameError what is it?
I have the following code in app/controllers/processjobs_controller.rb # class ProcessJobsController <ApplicationController def index @ProcessJobs = ProcessJobs.find(:all) end end # This is my route file .. ActionController::Routing::Routes.draw do |map| map.resources :ProcessJobs map.connect '':controller/:action/:id'' map.connect
2013 May 08
1
server started as daemon: Application behaves differently from running in console
Hi, running our app from its application folder /app via script/server -p <port> works fine. Starting the rails server (2.3.17) as a daemon via cd /app && script/server -p <port> -d (e.g. as init.d script) our application works in parts, but on several actions throws the error below. It seems that the daemon does not have the correct environment and cannot find the
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
Hi, while generating the PDF file , i am getting following error.. please help for me. RuntimeError (JPEG marker not found!): C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/ graphics/imageinfo.rb:176:in ` measure_JPEG'' C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/ graphics/imageinfo.rb:174:in ` loop''
2009 Jul 31
2
ActionController::RoutingError (No route matches "/say/hello" with {:method=>:get}):
Hello: I have found a whole lot of posts on this, however, none of them offer any sort of solution other than restarting the web server, which I can''t imagine everyone out there developing on Rails is doing. I am on page 40 of Agile Development with Rails 3rd edition and trying to get the missing template error to show but until I restart webrick I only get the following: Processing
2006 Sep 18
2
Datebocks and EdgeRails
Hello, I am having trouble trying to use the Datebooks Engine with Edge Rails. Has anybody try with it? It seems that the problem has something with loading the layout, and complaints about the number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT:
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my application. I get the error: Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006) Parameters: {} ActionController::RoutingError (Recognition failed for "/keywordeditor"): my application is called keywordeditor. I am starting the server from the correct place with the correct command (I already
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into different issues on Mac and Windows with the exact same code. It''s similar to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see any answers in there (maybe I missed the real answer?) Both console/error outputs listed below: I can''t even get WEBrick to start on
2012 Mar 01
1
help stylesheet_link_tag
I was reading the book "Agile Web Development with Rails 4th Edition". In Chapter 11, Iteration C2: Adding a Page Layout 1 <!DOCTYPE html> - <html> - <head> - <title>Pragprog Books Online Store</title> 5 <%= stylesheet_link_tag "scaffold" %> - <%= stylesheet_link_tag "depot", :media => "all" %> - <%=
2005 Mar 02
3
uprgrade to 0.10: uninitialized constant Class::Object
Hi, I installed rails 0.10 with ruby gem, and upgraded my application as described at http://manuals.rubyonrails.com/read/book/15 . Now, when accessing the action index of the controller rss_feed, I get this error in the terminal when I started the server: #<NameError: uninitialized constant Class::Object>
2006 Feb 13
3
TypeError
What might cause this error? TypeError (singleton can''t be dumped): /usr/lib/ruby/1.8/pstore.rb:159:in `dump'' /usr/lib/ruby/1.8/pstore.rb:159:in `dump'' /usr/lib/ruby/1.8/pstore.rb:138:in `transaction'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close''
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
2010 Nov 12
1
Dashboard throwing undefined method `to_time' for nil:NilClass error on page view
Using 1.0.4 release on Solaris 10 with Ruby 1.8.7. Starting the server in production mode works fine until I request a page from the web browser then I get the following errors on the console. I''m running as user puppet (have also tried as user root but same output). All files are owned by user/group puppet/puppet. I have dropped and recreated the database multiple times just to see if
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb class OrderPayment < ActiveRecord::Base belongs_to :order validates_presence_of :amount, :no end class LC < OrderPayment end class LC30 < LC end class LC60 < LC end class LC90 < LC end class LC120 < LC end class TT < OrderPayment end class CAD < OrderPayment end and following is error i''m getting with
2006 Jan 18
1
Another uninitialized constant question
Guys, I''m trying to generate a scaffold to admin a table called hangars. I''d like the controller to fall with an "admin" sub-module. I used the command: script/generate scaffold Hangar Admin::Hangar This seemed to work, and placed the controller in controllers/admin/hangar_controller.rb, where I expected to find it. It also created the hangar.rb model in
2012 Oct 05
1
Puppet Dashboard inventory search problems.
I''m using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19 When I do an inventory search, I get a blank screen. In the logs, I found the following: Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET] Parameters: {"action"=>"search", "controller"=>"nodes",
2009 Oct 02
2
Plural version of the model detected, using singularized version. Override with --force-plural.
what is the proper way to make this work? --force-plural doesn''t seem to change the results. this only seems to happen when you choose words that the plural and singular is the same word. script/generate scaffold equipment name:string description:text warning Plural version of the model detected, using singularized version. Override with --force-plural. results in the following
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
Hi, I have a puppet infrastructure running 2.6.14 under Passenger with about 30 nodes. I''m just spinning up a new Cent 6.3, puppet 2.7.19 master. Right now I have the master built and configured using the same configuration as my 2.6.14 setup, with a few tweaks for the new version. Puppet on the master built itself fine. I have puppetd stopped on the master. I tried pointing one
2006 Nov 04
2
strange errors in dev.log and webserver log
Hi guys, I have encountered a strange error in one of my applications. The details are the following: The application is a very simple one, I have one model, Cards, it has some pretty basic stuff, some after_save methods for saving uploaded files to their places. I have an UI where I can manage the Card records, with the default methods, including ''edit'' cards_controller.rb: