search for: elioncho

Displaying 11 results from an estimated 11 matches for "elioncho".

2008 Sep 19
1
Help with best approach(fairly easy question)
...id]]) elsif params[:tag] . . . end 2) Should I create different controllers with only an index action on it (Create and other actions stay on the posts_controller): post_categories controller? post_tags controller? user_posts controller? So, which approach should I use? Thanks again, Elioncho --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send e...
2008 Oct 08
1
Memory leak problem
...ot;+@stringArray[13]+" "+@stringArray[14] if @chain_id == nil @chain_id = "" end business.save end end I belive that ruby use in every cycle of the do new blocks of memories por my instances of Business. Can someone help me please? Thanks, Elioncho --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send e...
2008 Sep 17
0
Problem with url_for and namespaces (in in_place_editing)
...ons controller is part of the admin namespace: map.namespace :admin do |admin| admin.resources :permissions Anyone has any ideas on how to solve this? I have tried to write a restful route (admin_permission_path(@permission.id)), but the plugin doesn''t seems to work with them. Thanks, Elioncho --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send e...
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 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.
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:
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
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