Still having the same issue running the application on good ole system
ruby.
Assuming there is a memory leak here, can anybody advise me on how I
can find the leak?
Otherwise, any other ideas?
On Apr 14, 3:26 pm, Bryan Crossland wrote:
> On Thu, Apr 14, 2011 at 3:34 AM, Gavin Morrice wr
I'm working on a Rails application at the moment which seems to kill
the memory on my iMac until I eventually have to restart.
I have a 2.66 GHZ processor with 4GB Ram on OSX 10.6.
When I boot the rails app, the memory consumption shows the following
(ps aux | grep rails):
Gavin 726 0.0 3
Hey Kev!
You ever find the solution to this issue?
Im running three rails apps on my server, all on the same version of
rails.
One of them runs fine, the other two kick up this error when I try to
start them.
Any clues would be helpful?
Thanks
Gav
kev...@googlemail.com wrote:
> I cannot ge
Adam,
Debugging email can be fun!
Try this:
http://pastie.org/641496
Here's a simple mail setup (assuming you're using smtp)
Change the details to your domain, username etc. and run this in irb.
If the mail sends, it's likely a problem with ActionMailer Setup in your
app.
If the mail doesn'
Now that I think about it - don't think this would work
render looks through the view folders for your partial - not sure if
you'd be able to store them in the public directory
:S
Gavi
http://handyrailstips.com
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~-
Janna Brossard wrote:
> Well, for example. I was going to have it write partials into /public/
> blahblah/_mypartial!.erb
map.connect "/blahblah/:partial_name", :controller => "yourcontroller",
:action => "your_action"
This would work provided you're always routing to the same controller
and a
Sweet - wasn't aware of that one
Thanks
:)
Gavin
http://handyrailstips.com
--
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
Janna Brossard wrote:
> Is there a way to programmartically add a route? I have an outside
> process creating pages that I need to access, but I dont know their
> names or locations until runtime. -Janna B
Janna,
Sounds messy! Are you sure this is the best option?
What is it you're trying to ac
Carsten Gehling wrote:
> My head is spinning a bit this morning - can somebody help me with this?
>
> Given these two models with the following associations:
>
> class Article < ActiveRecord::Base
> belongs_to :category
>
> - has an attribute called "published_on"
> end
>
> class Category
You're welcome :)
I see what you've done with the params[:search]
This is used to show the search term in the text-box on the results
page.
This seems perfectly reasonable
Gavin
http://handyrailstips.com
Aaron Day wrote:
> I alright I think my problem was that I was using to sources of
>
Aaron Day wrote:
> Hello I created a search engine on my site but it only works when you
> type the full name of the string. My string name are on average 9
> characters long.
>
> I would like to be able to search one word of the string and then get
> the listings to show up that have what you
Haha
Fair enough :)
Marnen Laibow-Koser wrote:
> Gavin Morrice wrote:
> [...]
>> If you're specifically looking for a regepxp that will match any thing
>> that doesn't start with a space then try: /^[^\s]/
>
> I was trying not to spoon-feed the lazy. :)
Newb Newb wrote:
> Is there any regualar expressions,which Should not allow blank space as
> the first character for my Department Name field.
> any helps on this...
> Thanks
If you're specifically looking for a regepxp that will match any thing
that doesn't start with a space then try: /^[^\s]/
e deleflie wrote:
> All,
>
> I've got a rails application that allows people to publish audio files.
> The
> files are stored on Amazon S3.
>
> I would like to publish statistics on the number of listens ... and have
> those statistics close to real time.
>
> I'm wondering if I should use a UR
ZoolWay wrote:
> Hello,
>
> I just started ruby on rails a week ago and know cannot find any
> information which helps me for my desired routing. At the moment I
> cannot image that this should be too hard.
>
> I'd like to use urls like the following to display a simple page:
> domain.com/custom
Newb Newb wrote:
> Hi..
> i have a auto complete field for my authority_id field.authority_id
> field is not mandatory.if the user not fills it will take the default
> authority id as value.
> but i want to validate if the user enters invalid authority name into
> the auto complete text box...
> i
forgot to add...
to parse HTML, check out Hpricot
http://www.rubyinside.com/parse-xml-quickly-and-easily-with-hpricot-166.html
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
vhenry wrote:
> I'd like to be able to both display rss feeds from other sites on my
> website and also to eventually produce rss feeds from my own content.
>
> Can someone point me to a tutorial on how to do this? I found one that
> had code examples, but neglected to tell me where/which files t
John Smilanick wrote:
> I am using the Openbase adapter and have had a similar glitch here
> and there, but after I go into production I consistently get an error
> on one page.
>
> ActionView::TemplateError (NoMemoryError: failed to allocate memory:
> SELECT * FROM ...
>
> I cannot track down t
19 matches
Mail list logo