Displaying 11 results from an estimated 11 matches for "raisl".
Did you mean:
raise
2009 Apr 22
0
Proxy 502 error on file upload with rails 2.3.2
I have the following running on a FreeBSD 6.0
Rails 2.3.2
Mongrel 1.1.5
Mongrel_cluster 1.0.5
Apache 2.2.8 with proxy balancer
After updateing to Raisl 2.3.2 i get a proxy error when uploading larger
files, You can se the error below: I have tested the setup with Raisl
2.2.2 and it works fine.
Does this have to do with Rack in the new Rails version?
(70014)End of file found: proxy: error reading status line from remote
server 127.0.0.1, referer:...
2006 Apr 13
2
Dynamic finder conditions
Hi everyone,
I''ve been working on some code which will take params and turn them into a
WHERE clause for the :conditions option in finder methods. So far I''ve been
able to do some very simple text matching. I''d like to be able to support
ranges, and then go from there (in fact I''ve added code for date ranges but
I''m embarrassed of it so I
2006 Apr 07
4
belongs_to and lookup tables
I have two classes, Listing and Warranty. A Listing (think of it as a
product) may or may not have a Warranty from a lookup table.
When I want the Warranty.company for a given Listing I want to say the
following:
@listing = Listing.find(4)
@company = @listing.warranty.company
In order to do that I did the following:
class Listing < ActiveRecord::Base
belongs_to :warranty
end
and
2006 Mar 14
5
GROUP BY and SUM
I have orders, order_items, and products.
I want to collate several orders so that I can get a SUM of quantities
ordered for each product etc.
Can I say something like (the below gives an error on :sum, and ignores
:group)
OrderItem.find(:all, :sum => ''quantity'', :group => ''product_id'',
:include => [:order, :product])
I want to get back a
2005 Mar 02
1
gem install rails error
Can someone please give me a hand here? I have just built a brand new
RHEL 4 server for my company and I am trying to get rails up and
running on it. I have ruby 1.8.2 installed fine. And the gem install
process went fine as well. But when I try to do the gem install raisl
under the root user this is what I getL:
[root@yhrws root]# gem instal rails
Config file /root/.gemrc does not exist
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source ind...
2011 Jul 22
0
Asset Pipeline and Sprockets
Ok I would love to work out how to use the new Raisl 3.1 Asset
Pipeline with SCSS variables, mixins etc and being able to use the
asset_path tag.
What I have so far is this. Im my application.css.scss I have the
following.
*= require_self
*= require layout
*= require home
This works fine with using the asset_path helper and variable...
2009 Feb 09
4
forms that mix new and old records
I''m trying to create a form/view that displays a mix of records that
exist in the database and records that the user is working on but that
don''t yet exist in the database. I want to leverage all of rails'' nice
form helpers, especially the params hash that it generates for the
records when the form is submitted. So - I am creating ''dummy'' records
with
2006 Jul 03
5
I can''t see my app
Hello everybody,
I was able to set up Ruby 1.8.4 on Rails, using Apache 2.2.2 and MySql
5.0.22 and if you go to http://spagnolo.troccoli.it you have the nice
"Welcome abroad" page.
I have created a table (modes) with mysql
CREATE TABLE `modes` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`description` VARCHAR(45) NOT NULL DEFAULT '''',
PRIMARY KEY(`id`)
)
2006 Mar 08
4
unless connected? + multiple databases
Hello all.
I am still having fun with multiple databases. In this case it is the
unless connected? statement.
ActiveRecord::Base establishes a connection that is inherited by the
majority of my models. However one Model (Componentlog) that uses a
separate DB is coded as:
unless Componentlog.connected?
establish_connection(
:adapter => "oci",
:database =>
2006 Sep 23
6
Connection to backgroundrb is lost when exiting action method
Hey.
I have a very annoying problem, and was wondering what is wrong.
Suppose I have backgroundrb running, and then I have an action in some
controller. In the action I define a worker. When leaving the action,
suddenly the connection to backgroundrb is lost:
DRb URI: druby://localhost:22222
Pid: 3976
Autostart...
done
druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor -
2008 May 21
32
Rack, Camping 2.0++
===
1. Camping on Rack
===
I''ve just finished rewriting Camping to use Rack in the "core". I got rid of
(a little less) than 1kB in camping.rb and removed lots of un-necessary files
(lib/server/*.rb, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch