Displaying 20 results from an estimated 1000 matches similar to: "Navigating Rails Projects"
2009 Apr 30
1
Partitioning Specs
On Thu, Apr 30, 2009 at 9:33 AM, Nicholas Van Weerdenburg
<vanweerd at gmail.com> wrote:
> I saw that a couple of days ago- very nice. Will that be added to RSpec?
Sooner or later, yes, but it will be managed through the hash passed
to the declarations:
describe "something", :tags => [:a,:b] do
it "does something", :tags > [:c] do
etc
You can already access
2006 Mar 29
2
Textdrive Rails 1.1 Error - Dependencies::LoadingModule
Textdrive upgraded to Rails 1.1 already.
I have an older rails app, and am now getting the following error:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.0
/lib/active_support/depende
ncies.rb:112:in `const_missing'': uninitialized constant LoadingModule
(NameEr
ror)
from ./script/../config/environment.rb:91
from
2006 Feb 25
5
MySQL client ran out of memory
I''m getting the following error unexpectedly for my rails app. I just
exported the databae from dreamhost and imported it on textdrive for
my rails app.
Mysql::Error: MySQL client ran out of memory: SELECT COUNT(*) FROM
comments WHERE (comments.listing_id = 2666)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
2007 Apr 25
2
Flash Skin and Rails View Issue
Hi,
I have an issue embedding a flash movie into one of my rails views.
/movies/index.rhtml
embeds /resources/movies/episode1.swf and episode1.flv
e.g index.rhtml includes:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="320"
2006 Jan 08
8
I need untyped associations
I am in the process of trying to migrate to ROR from a home grown ORM,
but one stumbling block is ActiveRecord''s typed associations and object
ID assignment scheme. In the home grown system, I have a master table
which *all* objects are packed into and a master associative table which
holds *all* associations. This allows each object, regardless of type,
to have a unique ID and thus it
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and
really like the RoR simplicity, but my knowledge of the framework still
isn''t very good (to be true, i understand the basics, but not everything
that''s in the tutorials).
But still I''d like to create a website which has:
- front end interface (with no edit functions)
- admin interface
2006 Jan 09
1
AR: Quoting in Join Model Test
Greetings made men of rails!
I am presently writing a new database adapter for rails to bring the
OpenBase community on board. In working through the rather extensive
AR tests (which I very much appreciate), I have come across a
question I can''t seem to answer on my own.
In the test_has_many_with_piggyback(AssociationsJoinModel) the result
is expected as a quoted integer
2006 Jan 21
4
Ruby processes consuming 1,000 megs of swap space
Hi all. The subject pretty much says it.
I''m running on a VPS-style shared server at pipespring.com. I''ve got Typo
setup, and have been running it fine for about a month.
However, today I got an e-mail from my host saying they disabled Ruby (chmod
000) because it was using waaay too much swap space.
I haven''t changed anything with my server at all (Rails or otherwise)
2006 Feb 14
18
Does shared hosting work? Anywhere?
I moved a rails application to textdrive using their low-cost shared plan.
Once on textdrive my app would display ''proxy errors'' periodically. Hitting
reload
seemed to be all that was needed to get past the proxy error.
After discussions with their support people I decided the proxy errors were
being caused by apache server restarts -- because there were many of us
sharing
one
2006 Feb 24
1
store rhtml in database
Has anyone done this? I want to store the rhtml (template) in the
database, but not sure how I can code the controller to generate the
file html and send it to the user.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 05
3
Ruby OpenID library and OpenIDLoginGenerator
Version 0.9.2 of the Ruby OpenID library has been released. This latest
release contains a port of the rails LoginGenerator (OpenIDLoginGenerator)
that uses OpenID for authentication.
Read more and download the library:
http://www.openidenabled.com/openid/libraries/ruby/
http://raa.ruby-lang.org/project/openid/
A bit about OpenID:
OpenID is a URL based identity system. An OpenID identity is
2005 Dec 18
7
Testing against 1.8.4
So apparently 1.8.4 is soon forthcoming. We need testing against it.
Could someone help out with that? I believe Ara already checked into
some of the issues, do you know if those are resolved, Ara?
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com -- Online project management
http://www.backpackit.com -- Personal information manager
2010 Jun 02
8
Read error: #<TypeError: can't modify frozen string> raised from HttpParser
Hey guys,
Started running unicorn in a production server like two weeks ago.
It''s been running smoothly, but looking at the logs found 44
exceptions like this:
E, [2010-06-02T16:17:15.117071 #22680] ERROR -- : Read error:
#<TypeError: can''t modify frozen string>
E, [2010-06-02T16:17:15.117270 #22680] ERROR -- :
2005 Jun 27
9
FK constraints overrated?
Hello folks,
I use to think that a relational databases without foreign keys
constraints enforced strictly by the RDBMS were no good, piece of crap,
data junk.
However, I''ve also learned the hard way that FKs constraints imposes
serious difficulties when moving data around, specially between
different DBs, or for loading test data or for upgrading DBs schemas, or
for porting DBs
2006 Jan 17
14
Prototype Size?
There''s a good article at
http://news.bbc.co.uk/1/hi/technology/4616700.stm that says, in a
nutshell, that people form their impression of a Web site in 50
milliseconds. With an 80K download for prototype, that leads me to ask:
"how can page sizes be trimmed and still use cool features"?
I recognize that browsers may feel free to download these scripts
asynchronously, but
2005 Jan 13
10
Program logic behind Ruby On Rails
Hi, I''m a newbie in both Ruby and Ruby on Rails. I finished the Ruby on
Rail Tutorial on Todo list and it was great. But, now I''m trying to
understand the logic behind it, that is something that is not obvious on
how each one of them ties together.
Is there a flowchart that shows how the inner working of Ruby on Rails?
In another words, let''s suppose we consider the
2005 Oct 19
35
Why you MUST use SCGI for Rails development
Hello happy Railers,
I used to develop with a local out-of-the-box Apache and load times were
pretty slow (like a few seconds each page). "Well, it''s the price to
pay for no compile / cache / etc..." I thought. Nonsense. Yesterday I
installed SCGI, and now I''ve got the best of both worlds: rails
development env uses my very latest modifications, while SCGI ensures I
2006 Feb 21
2
Production ecommerce sites?
Hi All
First post and its a question of Rails abilities. I was wondering if their
are any examples of a Rails application driving an ecommerce shop site.
Selling a catalogue of products? We''re looking at starting our first major
Rails project at work and wanted to gather some examples to sell to the MD
as PHP is becoming a drag and there''s so much more possibility in Rails.
2006 Feb 17
4
Three-tier
Hi Everyone,
I''m working at getting Rails introduced in my company. We''re a J2EE
shop.
Our deployments make use of thee-tiered architecture, just to be clear,
that means that there are essentially three machines involved in dealing
out an app: a webserver, an application server, and a database server.
As I see it (unless I''ve missed something) Ruby is essentially