Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

ruby-on-rails-3

0
votes
0 answers
58 views

"Invalid document size. It shouldn't be bigger than 100KB. Got 102689 bytes\"

Has anyone every seen the following error from rails before? "Invalid document size. It shouldn't be bigger than 100KB. Got 102689 bytes\" I have a…
asked June 24, 2011 11:16 am CDT
AnApprentice
0
votes
0 answers
51 views

Querying association with Mongo_mapper with embedded document

I have a Users model with embedded Friend model. When a user registers, it saves their info, and then inserts they friend data. class User include…
asked June 23, 2011 8:33 pm CDT
user577808
0
votes
1 answers
57 views

Rails & sendmail recipients with -t option not supported

I have a development environment file that contains the following config.action_mailer.delivery_method = :sendmail…
asked June 23, 2011 10:01 am CDT
user339796
0
votes
0 answers
38 views

Mongoid, how to order_by through a references_one association (and subsequent associations) ?

Simple model: class hat embedded_in :owner field :color end class owner embedds_one :hat referenced_in :house field :name end class house…
asked June 23, 2011 4:32 am CDT
Alex
0
votes
1 answer
32 views

Store time interval in PostgreSQL from Rails

I need to store time inverval in PosgreSQL. Data will be put from Ruby on Rails. Say, PizzaHut accepts orders from 9:00 to 18:00. I've created…
asked June 22, 2011 9:40 am CDT
AntonAL
0
votes
0 answers
33 views

Sendmail: OpenSSL::SSL::SSLError: hostname was not match

I have a vps with ubuntu 10.04. i'm tring to install a rails 3 application If i try to test the sendmail command from terminal it works. In my…
asked June 22, 2011 7:43 am CDT
Luca Romagnoli
0
votes
1 answer
48 views

Rails - Mongoid : newly added fields in model giving nil for old data objects.

I have model as following - class User include Mongoid::Document field :name After saving few user objects to database, I added some more fields as…
asked June 22, 2011 6:06 am CDT
rtdp
0
votes
2 answers
40 views

Should I index a date column in Ruby on Rails 3.0

Environment: MySql, Rails 3.0.7 In my user table I have a 'last_activity_date' column which is kept up to date using various after_save hooks…
asked June 21, 2011 7:05 pm CDT
Andy
0
votes
0 answers
37 views

RAILS: How to query for all the objects whose every association have an attribute that is not null

Im working on Rails 3.0.5 and PostgreSQL. I have a model Offer , that has many Products . The product has an id that updates when you register it in…
asked June 21, 2011 2:16 pm CDT
e3matheus
0
votes
1 answers
30 views

Apache2 + Passenger3 + Rails3 routing problem

Having a problem with passenger 3 in routes.rb i have match 'main/subgroups/:id' => 'main#subgroups' And in access_log file "GET…
asked June 21, 2011 6:49 am CDT
pavel
0
votes
0 answers
21 views

Considering DigiCert or StartSSL as our SSL Certification. Thoughts Welcome.

Been looking around for a reliable SSL certificate. After doing some reading, I've come across a few worth considering. DigiCert , which offers a…
asked June 21, 2011 12:52 am CDT
Christian Fazzini
1
vote
1 answers
28 views

Ruby rails https

I have an administration namespace in Rails and it uses SslRequirement to protect the controllers that are in administration. I also user the…
asked June 20, 2011 7:07 pm CDT
Tim
1
vote
2 answers
36 views

Rails postgreSQL cannot get this query to work (SUM, Group Order)

This query work when I try it in SQLite: Transaction.where(:paid => true).select("created_at, SUM(amount)…
asked June 20, 2011 3:12 pm CDT
Christian
0
votes
1 answer
71 views

Heroku error when launch rails3.1 app missing postgres gem

I am trying to deploy to heroku. Rails 3.1.0.rc4, I get the following error from Heroku logs: Starting process with command: `thin -p 48902 -e…
asked June 20, 2011 6:45 am CDT
chell
0
votes
2 answers
42 views

Serving precompiled assets with nginx

Is it possible to serve precompiled assets with nginx directly? Serving assets dynamically with Rails is like 20 times slower (4000 req/sec vs 200…
asked June 19, 2011 7:12 am CDT
daekrist
1
vote
1 answers
31 views

Scope random order with pagination

I'm trying to figure out how to make a scope that will return random ActiveRecords while also supporting will_paginate. Right now each page view…
asked June 18, 2011 1:26 am CDT
Cyrus
0
votes
1 answers
67 views

Enum data type with mongoid

I'm trying to create an enum using mongoid class Vote include Mongoid::Document field :value, :type => Symbol # can be :aye, :nay, :abstain…
asked June 17, 2011 5:16 pm CDT
bonhoffer
0
votes
1 answers
64 views

Rails.cache error in Rails 3.1 - TypeError: can't dump hash with default proc

I running into an issue with the Rails.cache methods on 3.1.0.rc4 (ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10]). The code works…
asked June 17, 2011 4:06 pm CDT
shedd
0
votes
2 answers
37 views

Get Rails running on fresh Ubuntu install.

I created a VM running the latest Ubuntu because it was causing so many problems on my Windows machine. I got RVM installed, have versions 1.8.7 and…
asked June 17, 2011 1:15 pm CDT
James P. Wright
1
vote
0 answers
48 views

Rails 3 Automatically Making Joined Table Associations

I'm having trouble figuring out how to create new entries in a table and automatically create the associated relationship in the joined table. Here…
asked June 17, 2011 1:07 pm CDT
Nicholas DeLuca
Pages : 1 | 2 | 3 | 4 | 5 > [23]
446

ruby-on-rails-3

Tagged: ruby-on-rails-3
Related Tags
ruby-on-rails × 213
mysql × 129
ruby × 100
mongodb × 87
postgresql × 77
mongoid × 47
regex × 37
heroku × 34
sqlite × 23
passenger × 22
activerecord × 22
sql × 21
apache2 × 18
apache × 17
http × 16
ssl × 14
nginx × 12
memcached × 12
database × 11
devise × 8
redis × 7
migration × 7
caching × 6
validation × 6
rubygems × 6
sendmail × 5