search for: anexiol

Displaying 19 results from an estimated 19 matches for "anexiol".

Did you mean: anexiole
2010 Jun 06
3
running passenger + nginx
hi guys, Assuming I made some changes to the source code. My production environment runs on passenger and nginx. How do I restart passenger and nginx with minimal downtime? Surely I can''t do a "w" on the terminal because a server will not always be in zero load. Would love to hear some recommendations. PS- I have read on unicorn
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
hi guys, I have been trying to install Rmagick on ubuntu karmic koala for a day. Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick). The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ): -------------------- Extract start
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
...cal/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:369:in `load_plugins'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:165:in `process'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:113:in `run'' from /home/anexiole/projects/RealAutoParts/config/environment.rb: 13:in `<top (required)>'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `require'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `block in load_modules'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:262:in `each...
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone, i have googled around for some pdf generators. Found 1) PDF::Writer which is a little dated 2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple- ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf) - it''s a little dated. Last revision was on 15th of Dec, 2007. Any recommendations for pdf generators? thank you -- You received this
2009 Oct 15
10
AJAX - how to have multiple select form sets implemented?
hi, there :) Consider a blogging application whereby a user is trying to add a new blog. He/she has to select a category. Upon selecting a category from a drop down box, a new sub categories drop down box will be created (hence an AJAX call). Got this implemented and it''s ok. Now, let''s assume that a given blog can have multiple categories (and subcategories). For example, a
2010 Jun 04
6
Ajax fails in IE8
hi guys, I am testing a new optional funtionality in my site with IE 8 after success with Firefox 3.6.3, chrome and safari. The new functionality basically sees a "sub category" drop down list get generated in my form as soon as a "Category" value is selected from the "Category" drop down list. I have been using the standard rails api such as observe_field, and
2010 Mar 04
25
how to share variables in data migrations (up/down)
hi there, How do we share variables in a given data migration? For example, the code below fails to work because "statuses" don''t seem to be in scope for both up and down. class AddDefaultValuesToStatuses < ActiveRecord::Migration statuses = [ { ''details'' => ''details'', }, {
2010 Aug 06
1
New bie question: Why use assert_equal when there are comparison operators in Rspec?
hi guys, I''m reading up on Rspec, Mocha and some related material to put BDD in my new rails app. I have also checked out Ryan Bates'' railscasts on rspec (that''s how I got to know about Mocha). Reading up on the Rspec''s main site, the main example in http://rspec.rubyforge.org/rspec/1.3.0/ does not show any use of assert_equals. Rather it just uses the
2011 Nov 18
1
What does :count actually mean in assert_select?
Hi guys, I tried reading up the RSPEC Book (Dec 2010) and googled a bit but I could not find anything. I''m using Rspec2. Example: spec/factories/categories.rb ====================== FactoryGirl.define do factory :category_intakes, :class => ''category'' do name ''intakes and filters'' description ''airfilters and
2010 Mar 02
0
how to get unescaped value of request.url AS-IS?
hi guys, Calling request.url returns "http://gozila-underground.com/search? search%5Bby_keyword%5D=&commit=Search" which is an escaped version of "http://gozila-underground.com:3000/search? search[by_keyword]=&commit=Search". In ruby on rails, how to get the unescaped value of request.url (AS IS)? thank you -- You received this message because you are subscribed
2010 Jul 12
0
Bundler problems
hi there, I have a few issues with bundler. 1) running "gem install bundler" in my project directory as a regular user is impossible due to permissions problem. I had to use sudo 2) running "bundle install" in my project directory as a regular user, I got the following permission problem. "Installing rspec (1.3.0) from .gem files at /home/ct9a/projects/myApp/
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys, Using breadcrumbs on rails (http://github.com/weppos/ breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my application controller. That will set up my home breadcrumb. In my other feedbacks controller, I have the same "set_breadcrumb" method (in a before_filter). The breadcrumb added here is called "feedback". the problem is that when
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
hi guys, I have a new development server (ubuntu 10). I have done the following (the versions match my existing development machine which works fine): 1. installed ruby 1.9.1p378 2. installed ruby gems 1.3.7 3. installed rails 2.3.8 (used "gem install rails -v 2.3.8") 4. manually installed my other gems including sphinx and thinking sphinx with "gem install ..." 5. ran
2011 Sep 19
1
Rails and UJS guide - not having much luck
I refered to http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ in hope of getting json data from my controller and displaying it in my view when an ajax request is made. I followed the instructions on the http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ and even corresponded with the author and also implemented his ''fix'' in
2011 Dec 05
1
How to extend common helper methods to view specs?
Hi, there, I have some methods which I have written as helpers. They are in spec/support/controller_macros.rb (yes, I will change the name soon). The 2 methods, login_user and login_admin_user works in the controller specs BUT fail to work in the view specs when I call them in the view specs. ---------- spec/spec_helper.rb start -------------------------- # This file is copied to spec/
2010 Apr 21
0
can't seem to install bleak house
hi, guys I looked at http://guides.rubyonrails.org/debugging_rails_applications.html and figured I give bleak house a try. I ran into a problem during installation of the gem. Here''s an extract: --------------------------------- Extract start ----------------------------------------------------------- Makefile:671: warning: overriding commands for target `dist'' Makefile:671:
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
hi guys, I need a recommendation for searching with regards to timestamp & foreign key attributes. Sounds a bit too much but here''s an example. Suppose we have a "blog" object. It has many attributes such as - title - content - status_id - created_at - updated_at There are also "status" objects which have the following statuses, "new",
2012 Jan 01
3
'require_tree .' does not seem to be including the available *.js files as expected. Why?
Hi, all, Happy new year :) Referring to http://guides.rubyonrails.org/asset_pipeline.html, it seems that ''require_tree .'' in myapp/app/assets/javascripts/ application.js will include all *.js files in the myapp/app/assets/ javascripts/. I have a few other *.js files in this directory : parts.js, makes.js and categories.js. Here''s an extract from the html file I
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion