[Rails] Confusion around form_for defaults and json/js

2015-06-17 Thread Jonathan Allard
With Convention over configuration, you can usually trust the defaults to get you there. In this case, not so much. I've been banging my head on the wall for a few hours now, in between trying things and researching. For the usual cases, how do I set up an AJAX form. Is it using JS or JSON form

[Rails] MTI or CTI support in Rails

2015-06-17 Thread kinkou
Hello friends, Does anybody know if Rails ever gonna support Multiple Table Inheritance of Class Table Inheritance? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send a

Re: [Rails] Multiple delayed jobs using in a ruby class

2015-06-17 Thread Paul Makepeace
You could try something like, def export_csv_and_push_to_s3 export_to_csv unless csv_exists? push_to_s3 The fact it takes a long time shouldn't matter (so long as you've set your DJ timeout appropriately). Presumably you're storing your CSV somewhere locally and your object has a w

[Rails] Re: Rubygems code does not match github

2015-06-17 Thread Elizabeth McGurty
Not really sure at what level you are working Did you recently create a new ROR project with Rails version 4.1.11? Seems to me that ActiveRecord should have been included. In that process, various gems are installed. You can run gem list from the prompt at the source path of your app

[Rails] Rubygems code does not match github

2015-06-17 Thread jimmy karily
Maybe I'm missing something here but: The code served by rubygems for 4.1.11 version or Rails (https://rubygems.org/downloads/activerecord-4.1.11.gem) does not match the repo's code E.g. Check the blacklist here: https://github.com/rails/rails/blob/4-1-stable/activerecord/lib/active_record/relati

[Rails] Searching in a Tree-Navigation

2015-06-17 Thread James Davis, PhD
Take a look at https://github.com/collectiveidea/awesome_nested_set It is a robust gem that would make traversing your nested tree structure a bit easier. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group a