[Rails] Re: How to disable rails from serving images in rails 3.1

2011-08-18 Thread Diego Bernardes
Nvm, the problem was with mongoid! MODEL PRELOADING In order to properly set up single collection inheritance, Mongoid needs to preload all models before every request in development mode. This can get slow, so if you are not using any inheritance it is recommended you turn this feature off. conf

[Rails] How to disable rails from serving images in rails 3.1

2011-08-18 Thread Diego Bernardes
Hello!! How can i disable the rails 3.1 in development mode from serving images? I have some pages with tons of images and sometimes the page takes more than 10 seconds to load... Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Re: Keep file formatation

2011-03-02 Thread Diego Bernardes
Thanks Fred, workerd with the tag. I didnt know it existed :P Thanks again. -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk@googlegroups.c

[Rails] Keep file formatation

2011-03-02 Thread Diego Bernardes
Hello! I developed a management application for some internal applications the company i work. Mostly applications accept a file with some params and then export the result to a file, so the rails app generate the file input, execute, get the answer from the result file and show on screen. But in

[Rails] Integrating web applications

2010-07-17 Thread Diego Bernardes
What you guys think the best approach to integrate web applications? Lets assume we want to build a ecommerce, so we need something to generate the pages and a billing system, so we could use radiant and spree, i know that spree can generate the pages, but lets assume that radiant would be better,

[Rails] Integration with two rails applications

2010-05-03 Thread Diego Bernardes
Ive build a academic application where users can open tickets, something like a help desk. I want this tickets to be opened in Redmine, when the tickets get updated on Redmine, update on my software too, when the user update on my software, update in redmine. I thinking in how to do this in a sma

[Rails] Re: Scaling database. The easiest one!?

2009-10-08 Thread Diego Bernardes
(first of all, sry about my english) Ive been studing postgres and mysql, and they have theirs pros and cons. For me postgresql pros: - Im using OLAP, dont have alot of data today, but its growing, and is very intensive query, everyone say that postgresql is better on complex queries. - pl/r

[Rails] Scaling database. The easiest one!?

2009-10-06 Thread Diego Bernardes
Hi, I got a application actualy running on mysql, but, due a contract with a client, the application can get some complex queries and lots of users (like 10x more users). Its a academic application, and the company we are negociating have 7k+ students. Im worry about the database, its better st

[Rails] Help with acts_as_audited

2009-02-22 Thread Diego Bernardes
Hi everyone, Im using the plugin acts_as_audited to audit my whole program, but i have a problem, when the change is in a association table (has and belongs to many) the change isnt captured by the plugin, anyone know any fast hot fix to this? Thanks! -- Posted via http://www.ruby-forum.com/.

[Rails] Re: Rails Architecture,big app or multiple small app

2008-09-11 Thread Diego Bernardes
what is the difference of activeresource and this activemessaging? i dont know activemessaging... have any pros comparing with activeresource? thanks again :) -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] Rails Architecture,big app or multiple small app

2008-09-11 Thread Diego Bernardes
Hi guys :) I have a question, i have a big program to code, its a issue tracking + time tracking + alot of others tracking that my client needs, the question: - make a big rails application - split the application into smaller applications with the same database - split the application