You cannot post messages because only members can post, and you are not currently a member.
Description:
The official mailing list for the Ruby on Rails project. Where Rails users come to seek help, announce projects, and discuss all kind of matters surrounding the framework and the community.
|
|
|
attachment_fu content_type is blank for zip files
|
| |
Hi,
I am using attachment_fu plugin. Most if it is working fine, except
when I upload a .zip (or .rar) file, the content_type is blank. If I
turn the validation on, this upload will fail. When I turn validation
off, I see in the database the content_type is blank for the uploaded
file.
Can anyone point me in the right direction on how I can fix this?... more »
|
|
route + Routing Error
|
| |
Hello Friends,
I have a requirement where I want to Have the following url "
[link]" where *andy.something is a
dynamic value.
*Now I am using a namespace which is
...
and I have declared the route
map.office_profile_link '/:profile_link/office', :controller =>... more »
|
|
I can't PUT or DELETE JSON, where do I look?
|
| |
I'm making a webservice with JSON going in both directions for all
requests, but seem to have run into a catch 22.
A) I try the request as "/questions/1.json?_method=put " but since the
_method=put is not in the message body it doesn't count.
B) I send the params as _method=put&{ "json": "here" }... more »
|
|
user management in ROR
|
| |
Hi,
I am newbie for ROR and designing user management system, Which
includes all features including register , Profile of user , Profile
view of user, Inbox,Mails, .Please suugest some useful code links for
the same . and if you have any code for the same please help me. I
only create user registration system, Thanks in advance.... more »
|
|
runner - path to Ruby
|
| |
I am trying to use Action Mailer and runner to process incoming mail
addressed to a specific address (optin).
It appears that runner expects to find Ruby in /usr/bin. I am running
Passenger and have Ruby located elsewhere. runner does not seem to
have an option for specifying an alternative location for Ruby.... more »
|
|
update_attribute does not update
|
| |
My server is running Rails 2.3.4...am I not doing this correctly or is
something borked?
...=> #<Contact id: 24, name: "Larry", email: "la...@gmail.com", phone:
2147483647, account_id: 8, created_at: "2009-11-27 18:16:25",
updated_at: "2009-11-27 18:40:08", hide_name: false, hide_phone:
false, hide_email: false>... more »
|
|
ActiveResource - custom REST paths
|
| |
My application will utilize a REST-API that does not follow the Ruby-
type REST paths (/customers.xml). I had a look at the methods in
ActiveResources that sets the paths and I believe they could offer
more customization. The current methods allow additional prefix and a
querystring but forces use of a extension (can be custom though). So... more »
|
|
Determining source of a file
|
| |
Hey All,
Hopefully this isn't the most complex question in the world...
How can you determine the source file that a Class is using?
For example, I'd like to find the source file on my hard drive that is
supporting the class Feed in the below example.
Feedzirra::Feed.location_to_so urce_implementation... more »
|
|
|