wvk / dynamime

A Rails 2 plugin that greatly facilizes the detection and handling of (mobile) user agents, with extends the Rails template rendering mechanism for arbitrary-depth 'fallback'-view rendering
Other
43 stars 0 forks source link

Gem doens't work with Rails 3.0.9 #2

Open fabnoe opened 13 years ago

fabnoe commented 13 years ago

$ rails generate dynamime_migration

Throws:

vendor/plugins/dynamime/lib/rails_hacks.rb:5: undefined method custom' for classActionController::MimeResponds::Responder' (NameError)

wvk commented 13 years ago

Hi,

Dynamime does only work with Rails <= 2.3. For now, it is not intended to adapt it to Rails 3, but feel free to fork the project and send me a pull-request as soon as you got it running :)

Cheers, Wil

On 10/21/2011 11:42 AM, insnet wrote:

$ rails generate dynamime_migration

Throws:

vendor/plugins/dynamime/lib/rails_hacks.rb:5: undefined method custom' for classActionController::MimeResponds::Responder' (NameError)

fabnoe commented 13 years ago

Thanks for the information. Unfortunately I dont have the skills to rewrite it. Could you recommend any different solution/gem for Rails 3.0.9?