vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

Activescaffold Devise rails 3.1 routing issue #179

Closed samdebutcha closed 8 years ago

samdebutcha commented 13 years ago

when showing list of nested model, clickin on X (close) shows internal error, form does not close. In the log does not appear info. (rails 3.1.rc6)

vhochstein commented 13 years ago

do you use jquery or prototype?

samdebutcha commented 13 years ago

On 09/01/2011 11:00 AM, vhochstein wrote:

do you use jquery or prototype?

jquery

vhochstein commented 13 years ago

Hm, just committed a change to jquery_rails_vho gem, can you please try again.

At least it s working now in my team players example.

samdebutcha commented 13 years ago

Hi, I tested (your Team example) and it seems working with master (jquery,as), Rails active_scaffold_vho (3.1.0 e92c93e) jquery-rails_vho (0.0.2 cbeba50) rails (3.1.0) render_component_vho (3.1.0 effe827) verification (1.0.2 9f7a8d2): rails g active_scaffold_setup jquery create public/javascripts/rails_jquery.js create public/javascripts/jquery-ui-timepicker-addon.js

but in buggy project, rails (3.1.0.rc6), other versions are the same, it doesn't work. I notice I don't have public/javascripts/rails_jquery.js public/javascripts/jquery-ui-timepicker-addon.js maybe my jquery is messed up. I have: //= require jquery //= require jquery_ujs //= require active_scaffold

In both projects I can't find how to make timepicker work.

On 09/02/2011 10:18 PM, vhochstein wrote:

Hm, just committed a change to jquery_rails_vho gem, can you please try again.

At least it s working now in my team players example.

samdebutcha commented 13 years ago

Hi, I created new project Rails 3.1.0 and pulled latest code. How the behaviour is rather strange. First my sign_out path, depending on Devise gem stopped working. It works again only if I add jquery-rails. Then, suddenly js messages like 'User is created' started to appear. Also, when I click in nested Articles of Sections, the form appears but is not nested any more, it shows Articles. The same happen when I click on Edit Action link, the whole list is hidden, only when I close the form it appears again. Hope this helps.

vhochstein commented 13 years ago

I would suggest two things: First of all: rails 3.1 is in development phase, you are invited to help to develop it further. Secondly, if you would like to use a stable version please use Rails 3.0 branch.

Will rename bug to Devise not working with Activescaffold

samdebutcha commented 13 years ago

Thanks for suggestions. I'm just trying to help. I'm no Ruby & Rails programmer, for me is very difficult to delve into problems I really don't understand. I can only offer things I can do. AS is critical to my projects. Rails 3.0 lacks important feature, and it will make me rewrite once again all of my projects, this is why I insist on Rails 3.1 Anyway I hope my input brings you some help. I can still live happily with Rails 2.3.8

vhochstein commented 13 years ago

Which features do you miss in Rails 3.0, which you think are included in Rails 3.1?

samdebutcha commented 13 years ago

The asset pipeline. The Rails 3.1 is no longer in dev, 5 days already

vhochstein commented 13 years ago

Well, I just can tell you that you should nt use this version of activescaffold with rails 3.1 in production.

I really appreciate any bug reports, but I would even more appreciate a corresponding fix. :-)

My recommendation for you: if you think that rails 3.1 asset pipelining is more important that all the new features of activescaffold for rails 3.0: stay with rails 2.3.8

samdebutcha commented 13 years ago

Yes. Keep the good work

samdebutcha commented 13 years ago

I'd like to report that the Devise logout routing issue exist also for AS branch rails 3.0

vhochstein commented 13 years ago

Thanks a lot for that info.