similar to: Marginalia's :line option

Displaying 20 results from an estimated 10000 matches similar to: "Marginalia's :line option"

2014 Jun 11
0
my webpage does not send emails confimation/notification
Hello everybody I have a problem with my inquireis, when I want to contact and I send the message, I must receive two emails one of confirmation (client) and other of notification (admin of the web page) but it does not send. The webpage work in production environment. When I watch the log (production.log) I seed this: > > There was an error delivering an inquiry confirmation: > 503
2011 Nov 02
3
activeldap and migrations
Stupid activeldap is messing with my mind ;-) rails (3.1.1 activeldap (3.1.0) rubygems-update (1.4.2) I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models. I want to add some more things to my models but activeldap is killing my attempts to create migrations... cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings error
2011 May 10
7
Webrick script/server file does not exist
Hello all, I worked fairly enough with PHP and MySQL, but am very new to Ruby. I have Windows machine with Apache and MySQL installed previously. Both Apache and MySql were stopped while installing Ruby. I tried several ways to install Ruby 1.8.7 and one-step installer. I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I installed now. The problem starts when I try to create
2012 Jul 16
1
After moving from Ruby 1.8.7 to 1.9.3 - test/unit/error (LoadError)
People, For my old library app I did with Rails 2.1.1, if I use Fedora 16/Ruby 1.8.6, everything is OK. If I copy the app to a Fedora 17/Ruby 1.9.3 setup and reinstall all the old Gems and run: ./script/server I get: /usr/share/rubygems/rubygems/custom_require.rb:55:in `require'': cannot load such file -- test/unit/error (LoadError) from
2007 Oct 24
1
Alternate File "require" line in TextMate bundle
Ok, this is INCREDIBLY finicky of me, and I''m a really finicky person at the best of times, but I noticed that when you use the TM Alternate File command to create specs, it does it with a header line like this: File.dirname(__FILE__) + ''/../../../spec_helper'' I use a header line like this require File.expand_path(File.join(File.dirname(__FILE__), *%w [..
2011 Jun 22
0
Railtie initializer and generators
I am creating a gem for a Rails project and I got some troubles to understand how generators and initializers work. I would like to initialize my module loading some stuff from the database from models related to tables my gem should create with a migration file. Problem is : if I create a Railtie and put it my gem lib directory, when I try to run my generator (to create the migration template
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying to force one of them, blog.rb, to run as the index (''/''). I think that I understand the RDoc as stating that I can execute the following to make that happen: Camping::FastCGI.serve File.expand_path(current), Blog But, when doing so, I recieve the following error: Camping
2011 Aug 09
0
Devise, RSpec and Webrat
My app is builded with rails 2.3.12, rspec-rails 1.3.2, webrat 0.7.3. My spec_helper.rb ENV["RAILS_ENV"] ||= ''test'' require File.expand_path(File.join(File.dirname(__FILE__),''..'',''config'',''environment'')) require ''spec/autorun'' require ''spec/rails'' require
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like rails new blog and the content of the file "blog/config/boot.rb" are require ''rubygems'' # Set up gems listed in the Gemfile. gemfile = File.expand_path(''../../Gemfile'', __FILE__) begin ENV[''BUNDLE_GEMFILE''] = gemfile require
2006 Aug 12
1
Multiple args
Hi It seems the following code do not transfer multiple arguments to the worker instance: controller: ======= # recipients = Hash # mailing = Mailing model instance session[:job_key] = MiddleMan.new_worker( :class => :mail_queue_worker, :args => { :recipients => recipients, :mailing => mailing },
2014 Mar 10
0
Mongoid : bson namespace error
Hello All, I had been trying to work on Rails 4 and Mongoid gem. The following are the versions I had installed: bson-2.2.1 mongoid-3.1.6 After installing and trying to run "rails generate" command. It is failing with NameSpace error for BSON::ByteBuffer. It is trying to connect to mongodb server initially and getting successful. Post that it is failing with the following
2008 Dec 17
1
My first rspec reports "undefined method `key?' for #<String:0x46b1df0>"
this my first rspec test, it is very simple ----------------------------------------------------------------------------------------------------------------------------------------- > require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'') describe Doc do fixtures :docs before(:each) do @doc=docs(:yjn_bjy) end it "should create a new instance
2010 Oct 02
2
Unicorn doesn't reload the app after the HUP signal
Hi folks, I''ve experimented a problem while deploying my app, I''ve sent the HUP signal to the master process, I''ve checked everything is ok: new master and workers are spawned and the old ones are killed(I''ve checked the PIDs), but the new code deployed isn''t reflected in the living site, so I''ve to stop and start again unicorn in order to see
2006 Feb 26
4
Creating objects with has_many :through relationship
Three tables: users: id clients: id admin_contacts: user_id, client_id class Client has_many :admin_contacts has_many :contacts, :through => :admin_contacts, :foreign_key => :user_id, :class_name => ''User'' end I added the :contacts for ease of use of grabbing the user objects associated with the admin_contact. This all works great, I can grab the Users that
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi, I think there is still a major vulnerability exists in the latest Rails 1.1.5. The problem is in the routing.rb file and safe_load_paths method. Because of the erroneous regexp it is possible to perform a DOS attack on any rails application. To reproduce: 1. start your application 2. use this url: http://localhost:3000/debug Routing module will load standard debug.rb script which stops a
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/
2008 Jun 17
1
Confused - which is the correct Story API
Hi, I am confused (a normal state for me) about the State-Of-The-Art Story API to use. examples/calculator.rb has one syntax, the Blogs have another Syntax, so do the various tutorials. I realize that Stories are ongoing work, but it would be nice if there were something I could refer to to make sure that I am not using a syntax that will soon be deprecated, and that I am doing "what is
2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb # Load the rails application require File.expand_path(''../application'', __FILE__) # Initialize the rails application Qstack::Application.initialize! require ''koala'' This is my application_controller.rb class ApplicationController < ActionController::Base # protect_from_forgery before_filter :parse_facebook_cookies def
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks, I''m deploying a camping app on an internal Apache2 + FastCGI server at my office. Of course, on my Mac it works great, but I can''t get things to work with Apache and FCGI. I''ve followed the directions on why''s page documenting how to do this, but I''m getting the following error in my Apache error.log file: FastCGI: (dynamic) server
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3 beta 4 with all the dependencies. I have run bundle install in my rails project. Now I am trying to run some tests... My test_helper.rb file looks like this: # test_helper.rb require ''rubygems'' require ''test/unit'' require ''rails/all'' $ gem list i18n (0.4.1, 0.3.7)