search for: serpa

Displaying 13 results from an estimated 13 matches for "serpa".

Did you mean: seria
2007 Aug 26
5
Issues with mod_proxy/mod_proxy_balancer and my ded. server host
Hello list, I wonder if someone could help me understand the following: I''ve got a managed dedicated server with GoDaddy. Until now, I''ve only hosted PHP applications there. I now need to set it up to host my new beloved Rails application. I asked them to set up apache with mod_proxy_balancer for the mongrel cluster, however, here''s what they told me: *Unfortunately,
2010 Apr 06
2
Authenticating against ActiveDirectory - can't read userPassword/unicodePwd?
...if the user enabled it, we will query about his basic data (email,pwd) on a user-setup LDAP directory. It used to work fine when I was testing with OpenLDAP. The code, essentially, is this: connection.bind(self.bind_dn,self.password) connection.search2(self.base_dn,1,"(& (userPassword=#{password}) (mail=#{email}))",nil,false,5,5000) It binds and then searches for the user by mail and password. The entries must have a userPassword and mail attributes. It''s part of the core schema (I guess), so it works fine on OpenLDAP. I then went to test with Active Direct...
2010 Nov 09
2
AMQP and Unicorn (mq gem)
Hi all, I''m having issues with Unicorn and connecting to RabbitMQ using the tmm1-amqp gem. I''ve tried lots of approaches. The classic initializer with Thread.new { EM.run } for the Rails app and even tried using the Qusion library. (https://github.com/danielsdeleo/qusion) I''ve made a simple mod to Qusion for it to monkey patch unicorn too. The code looks
2008 Jun 20
4
Handling content pages (CMS-like)
Hello list, I wonder how you guys handle content pages? Often described as "static" pages. However, I don''t like to call them "static" because these pages often do use some minor dynamic content. This is what I like to think of as the "website" part of the web application. Content that does not have complex logic behind it. I had to handle it in the
2011 Feb 08
1
Why use DatabaseCleaner with rSpec?
Hi list, I''ve used DatabaseCleaner in the past, but only when using Cucumber and Selenium (or Steak + Celerity) since turning on transactional_fixtures would prevent the data being accessible from app-server that is also triggered for the tests. This works fine, and is a de-facto solution for this problem. I don''t see why I would want to use DatabaseCleaner with rspec though,
2009 Oct 13
1
config.action_controller.session[:secret] vs protect_from_forgery :secret
What I want to do is share the same session across many Rails applications. All of them are using Rails 2.2.2. I know that, to share the session, it''s (supposedly) just a matter of sharing the same key and secret among the apps, like this: config.action_controller.session = { :session_key => ''_apps_session'', :secret =>
2008 Sep 01
4
Generating Images/PDF Server-Side
Hi, I am working on a project where I need to generate a chart (a bit like a pie chart, but very customised) and insert this into a PDF document. Does anybody have any advice on ruby libraries (or other techniques) for doing this? Open to suggestions? The resulting PDF will be designed for printing and so ideally should be vector throughout (or any raster images 300dpi). I was thinking of some
2012 Sep 01
4
Basic Paypal
Hi all i am following this like for basic paypal http://railscasts.com/episodes/141-paypal-basics and i got this error View: <%= link_to "Checkout", @cart.paypal_url() %> undefined method `paypal_url'' for nil:NilClass despite i have this code in my model called Card Cart Model: class Cart < ActiveRecord::Base def paypal_url(return_url) values = {
2007 Mar 04
1
Real Time, sip.conf, [general]
Hi, I am implementing de Real Time architecture, I would like to know if, their is any problem in putting the section [general] of the sip.conf file in the table of sippeers. Thanks.
2007 Aug 23
0
[OT] Virtualization mailing list
Hello, Does anyone know of a good mailing list of forum for discussing Virtualization technologies (such as VMWare, Vrituozzo, etc) and its uses? Thanks, Marcelo. --~--~---------~--~----~------------~-------~--~----~ 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
2007 Nov 24
0
Listing documents in two different controllers - refactor?
Hello, if I have a document model (not RESTful) that belongs_to document_category and a document controller with a list action, and I want to list document per category can I just pass the id of the category as the :id GET param of the list action and filter the documents for this category? I think that that this wouldn''t be semantically good since one would expect to get a list of all
2008 Apr 30
0
[OT] Before thinking on my startup... what elements would I need?
Hello all, I''m looking for some advice on what skills / subjects to get me involved before thinking in executing my plans of starting my own thing (startup thing). I already have a great idea of application as a service. I''m sketching it and doing some brainstorm and planning. But something came into my mind... You know, technology isn''t everything. Using Rails will
2010 Feb 15
0
Using local system-wide gems when using gem bundler
Gem bundle is a great tool, but I''m breaking my head here to try to solve what seems to be a simple issue. Right now, we follow a very minimalist philosophy - if it is not needed, then don''t install it. For example, I use mongrel locally for development, while my co-worker uses unicorn. In theory, gem bundle would include only the gems necessary for production, and any local