Displaying 7 results from an estimated 7 matches for "davividal".
2007 Sep 25
2
attachment_fu default path
...achment :path_prefix => "public/files
[/audio.rb]
But all my files go on been uploaded to public/files/0000/00[last inserted
id]/my_file_name.ext.
What am I missing? I want that all my files go to public/files.
Thank you very much amd sorry my poor english.
--
Davi Vidal
--
E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
MSN : davividal-uAjRD0nVeow@public.gmane.org
GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Skype : davi vidal
ICQ : 138815296
2008 Nov 19
1
controllername_url vs controllername_path
Hi,
''m new RoR.
I was just going thru one book.
I was confused between Controllername_Path() and Controllername_Url()
in RESTful Rails apps.
Can anyone tell me the clear difference?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2007 Aug 17
1
Scaffold (Agile Web Development With Rails)
..._uri:
:user_id: 1
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}
[output]
Any tip?
AFAIK, my code is identical from the book.
Sorry the poor english.
Thanks.
--
Davi Vidal
--
E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
MSN : davividal-uAjRD0nVeow@public.gmane.org
GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Skype : davi vidal
ICQ : 138815296
2008 Mar 16
3
undefined method `redirect_to'
Hi all. I''m getting the following error in my app:
undefined method `redirect_to'' for ActionController::Base:Class
I''m using Windows 2000, Rails 2.0.2 and resource_controller (from
James Golick).
My controller:
class CommentsController < ApplicationController
include ResourceController::Controller
belongs_to :post, :article, :photo
create do
2007 Nov 03
0
http://manuals.rubyonrails.com didn't working?
I can''t access http://manuals.rubyonrails.com and it gives me 404 error.
Someone knows what''s going on?
Thanks
--
Davi Vidal
--
E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
MSN : davividal-uAjRD0nVeow@public.gmane.org
GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Skype : davi vidal
ICQ : 138815296
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2009 Jan 13
9
Updating multiple databases at the same time
I have an application that is load balanced. I have a master database
which I update once a day. Then I push the raw mysql files to all other
servers so they are the same as the master. This works fine, but there
are a few situations where I need all databases to update in real-time.
What would be the best way to achieve this in rails?
Here is an example of what I am trying to do. I want to