Displaying 10 results from an estimated 10 matches similar to: "Memory leak problem"
2008 Sep 19
1
Help with best approach(fairly easy question)
Hello!
Well this is maybe a fairly easy question. I am writing an app where
users that belong to a group have their own blog where they can make
posts. I have a posts_controller with all the CRUD operations and my
index action shows all the posts from all the users on a group. The
route is:
users/1/posts
The thing is that I want to show too, all the posts from any user, or
all the posts for a
2010 Jul 28
1
Problem loading YAML files and using pluralize method in Rails3rc
Hi,
I just upgraded my rails app from rails3.0.0beta4 to rails3.0.0rc and
I''m having problems loading a yaml file. I have a load_config.rb in
the initializers folder which loads a yaml file. The basic loading
code is:
FACEBOOK_CONFIG = YAML.load_file(File.join(Rails.root, ''config'',
''facebooker.yml''))[RAILS_ENV]
This stopped working when I moved to
2008 Sep 17
0
Problem with url_for and namespaces (in in_place_editing)
Hello,
Well I have been working with the in_place_editing plugin and have
been running into the following error:
Unknown action
No action responded to 1
My code on my view is below:
<span id = "permission"><%= @permission.name %></span>
<%= in_place_editor "permission", {:url => url_for(:action =>
"update", :id => @permission.id) }
2008 Dec 23
0
Setting up a Subscriptions service
Hello everyone,
I am currently setting up SaaS kit integration with my app. Can anyone
guide me in which is the best way to do this.
Here''s a couple of doubts:
Should I set up a new database to hold the tables related to the SaaS
Kit integration or should they all go on the same database been used.
Should I let the subscriptions be a separate rails app?
Should I just hold everything
2009 Mar 11
0
InvalidAuthenticityToken when using Mechanize
I am sending post requests to another rails app via mechanize and
getting the InvalidAuthenticityToken error. I know its due to the
protect_from_forgery line on the application_controller. How do I
manage to overcome this?
Thanks a lot,
ElĂas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Mar 20
0
rfm working in localhost but not in production enviromen
Hi Guys,
We''ve been using RFM to sync to a FMP server. As we were deploying the
app to the production server, we encountered a small problem in this
part of the code:
In enviroment.rb:
SERVER_CONFIG = {
:host => "my.ip.number",
:account_name => "user",
:password => "pass"
}
DATABASE = "my_database"
In the controller I have this:
2008 Nov 26
0
Best Configuration for attachment fu (images)
Hello,
Well I''ll like to know which is the best configuration or the most
used (standard) when uploading images via attachment fu (or related).
In particular I''ll like to know which is the best resizing option and
the best "thumbnail" size for large images. This is my current
configuration. When I resize strictly to 640x480 the image loses its
original ratio.
2009 Aug 16
0
Can't upload pictures using Paperclip due to weird error
I''m developing in Ubuntu, already have installed ImageScience and I''m
getting this error everytime I try to upload a picture:
[paperclip] An error was received while processing:
#<Paperclip::NotIdentifiedByImageMagickError: /tmp/
stream20090816-10096-ddupoc-0 is not recognized by the ''identify''
command.>
Can someone guide me on a solution?
Thanks
2009 Mar 26
2
Deleting files after they are sent via send_file
Hello guys,
I am having the option to download certain folders on my app in zip
format. So every time a user requests one I''m doing a system call to
zip the folder (ex: system(''cd ''+path+'' && zip ...) and then the
send_file method to send it.
What happens is that I''m keeping track of disk space so I need to
delete the zip immediately. I was
2009 Aug 14
0
country select with i18n
I am trying to manage the country names with i18n. I have a countries
table with the countries extension codes (us., co., ve., .bo. etc...)
and the yml files with their complete names:
en:
countries:
ar: Argentina
co: Colombia
.
I am trying to make a form with a select option for country and came
up with this:
<%= f.select("country_id", Country.all.collect {|p| [ t