You cannot post messages because only members can post, and you are not currently a member.
Description:
The official mailing list for the Ruby on Rails project. Where Rails users come to seek help, announce projects, and discuss all kind of matters surrounding the framework and the community.
|
|
|
Active Scaffold Performance
|
| |
Hi Everyone,
I know this is a recurring topic, but currently my application is
running very slow and I would like to figure out why. Every
transaction, except for the login page, have an average response time
in the 8,000~ 14,000ms range (DB: 300ms range), which is absurd. I
have implemented action caching and fragment caching on the views, but... more »
|
|
mysql rake functions failing
|
| |
im new to mac and ruby but have been through some tutorials using
sqlite
ive downloaded a plugin for geolocation and it needs mysql for
advanced functionality
however whenever i try to run the rake commads with mysql adapter, i
get errors
i created the ruby app using the -d mysql command
my database.yml looks as follows... more »
|
|
What does /2 represent in a division calclulation ....hangs console
|
| |
what does /2 or /5.5 represent to ruby?
in a division caclulation: x / 5.5
if you only put a space between x and the /, then
the console hangs
in irb it does this:
irb(main):014:0> x = BigDecimal("10.00")
=> #<BigDecimal:31a5ccc,'0.1E2',4 (8)>
irb(main):015:0> x * 5
=> #<BigDecimal:31a3760,'0.5E2',4 (16)>... more »
|
|
is Rails a CMS ?
|
| |
Hi list ! More often then not when talking about zena, I find people saying that "we don't need no freakin' CMS, Rails *is* a CMS". I posted an article on zenadmin.org with some reflections around this issue and why some people find it useful to build such tools for rails (adva-cms, radiant, zena): [link]... more »
|
|
paged partial collection AJAX
|
| |
I have several places in my app where there is a collection with hundreds of items to render. Paging in the usual sense (i.e., mislav-will_pagination) does not make sense. I want to render them all, but the long response time (often greater than 7 seconds) is not user-friendly. It occurs to me that I... more »
|
|
Setting the flash in view helper tests
|
| |
Hello all,
I am trying to find a way to set the flash for a view helper test. The
purpose of my view helper is to simplify rendering of flash messages,
and I'd like to be able to test it by passing a mocked flash object to
the helper method in my tests. I'm not quite sure how to do this,
perhaps by mocking somehow?... more »
|
|
integrations tests questions
|
| |
Hi, --- ROUTING --- I have roting defined as RESTful but for the below testes MyModels controller I have a standard map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:form at' ---- SAMPLE TEST ------ class MyIntegrationTest < ActionController::IntegrationT est fixtures :all... more »
|
|
dynamic collection_select
|
| |
Hello all, I'm very new to Ruby and web programming at all. I'm trying to get a page where I can have a series of drop downs that are all columns within the main table of my database. When you drop one down, and select a value, I want the others to update with their possible options based on the first selection. For example, the model is employees:... more »
|
|
Howto: rebuild thumbnails in attachment_fu
|
| |
I've just added a new thumbnail definition to a class that has attachments using attachment_fu. Since this thumbnail definition didn't exist when I uploaded pior images, they don't have this thumbnail. I have been trying to figure out how to either load the image attachment and have it build the thumbnail. Does anyone know how to do this?... more »
|
|
|