[Rails] Collation order in Rails with Postgresql

2016-03-11 Thread Donald Ziesig
Hi All! I am trying to get a rails postgres table ordered by the exact values of the ascii characters such that: Alpha Bravo Charlie ... Unfortunately, even when I try to escape the < characters and enter them directly in the Postgresql table, I get: Alpha Bravo * * * Lima Mike November

Re: [Rails] Rails 5.0.0.beta3 thinks it is in production mode when it isn't.

2016-03-08 Thread Donald Ziesig
03:34 AM, Colin Law wrote: On 8 March 2016 at 05:14, Donald Ziesig <don...@ziesig.org> wrote: Hi All! Another problem. I am using Rails 5.0.0.beta3 with a minor javascript file (115 lines). I have encountered the following problem several times in the past two days. In both earlier c

[Rails] Rails 5.0.0.beta3 thinks it is in production mode when it isn't.

2016-03-07 Thread Donald Ziesig
Hi All! Another problem. I am using Rails 5.0.0.beta3 with a minor javascript file (115 lines). I have encountered the following problem several times in the past two days. In both earlier cases, I ended up returning to the master branch and starting over (there were very few changes in

Re: [Rails] Rails 5 does not render when called from javascript/ajax

2016-03-06 Thread Donald Ziesig
On 03/06/2016 07:41 PM, tamouse pontiki wrote: On Sun, Mar 6, 2016 at 5:59 PM, Donald Ziesig <don...@ziesig.org <mailto:don...@ziesig.org>> wrote: On 03/06/2016 05:22 PM, Colin Law wrote: On 6 March 2016 at 21:45, Donald Ziesig <don...@ziesig.org <mailto

Re: [Rails] Rails 5 does not render when called from javascript/ajax

2016-03-06 Thread Donald Ziesig
On 03/06/2016 05:22 PM, Colin Law wrote: On 6 March 2016 at 21:45, Donald Ziesig <don...@ziesig.org> wrote: ... This is the whole thing (including alerts to let me know when clicks are handled):

Re: [Rails] Rails 5 does not render when called from javascript/ajax

2016-03-06 Thread Donald Ziesig
On 03/06/2016 02:57 PM, Colin Law wrote: On 6 March 2016 at 18:22, Donald Ziesig <don...@ziesig.org> wrote: Hi Everyone, I am having a problem getting Rails to render a page when it is called from javascript/ajax. I posted a detailed question on StackOverflow but no one has answer

[Rails] Rails 5 does not render when called from javascript/ajax

2016-03-06 Thread Donald Ziesig
Hi Everyone, I am having a problem getting Rails to render a page when it is called from javascript/ajax. I posted a detailed question on StackOverflow but no one has answered yet.(Rails 5 will not render POST made from javascript) Basically, I am doing a very simple ajax POST (also tried

Re: [Rails] Net::SMTPSyntaxError (501 Sender syntax err$ Heroku

2015-08-02 Thread Donald Ziesig
On 08/02/2015 01:29 AM, sanoy wrote: Random issue with my ruby on rails application out of the blue. I'm getting a 501 error each time a user tries to submit the form. This error does not occur when I'm running the app locally, it only occurs when I push to Heroku. heroku logs --tail(The

Re: [Rails] Making rails-api (rails 4.0.2/9) work with strong parameters.

2015-07-25 Thread Donald Ziesig
params[:user] to be a hash Fred On 07/24/2015 10:09 PM, BuyzLots wrote: Your payload looks like a string, is permit something you can call on a string object? On Jul 24, 2015, at 9:31 PM, Donald Ziesig don...@ziesig.org mailto:don...@ziesig.org wrote

Re: [Rails] Making rails-api (rails 4.0.2/9) work with strong parameters. (Reordered and reworded)

2015-07-25 Thread Donald Ziesig
, Don On 07/24/2015 10:09 PM, BuyzLots wrote: Your payload looks like a string, is permit something you can call on a string object? On Jul 24, 2015, at 9:31 PM, Donald Ziesig don...@ziesig.org mailto:don...@ziesig.org wrote: Hi All! I have

Re: [Rails] Making rails-api (rails 4.0.2/9) work with strong parameters. (Reordered and reworded)

2015-07-25 Thread Donald Ziesig
* 4.2.3. :-( For anyone who might be wondering, I have not tested *rails-api* with versions greater than 4.0.9 and less than 4.2.3 so I don't know exactly where the breakage occurred. I owe, I owe, so off to work I go :-D . Thanks, Don On 07/25/2015 02:37 PM, Donald Ziesig wrote: On 07/25/2015

Re: [Rails] Making rails-api (rails 4.0.2/9) work with strong parameters. (Reordered and reworded)

2015-07-25 Thread Donald Ziesig
On 07/25/2015 01:21 PM, Frederick Cheung wrote: On Saturday, July 25, 2015 at 5:46:47 PM UTC+1, donz wrote: Do you know why the payload is a string rather than a hash ?What format is the data being posted in (form data,json, xml etc ?) It seems to me that your first problem is to

[Rails] Making rails-api (rails 4.0.2/9) work with strong parameters.

2015-07-24 Thread Donald Ziesig
Hi All! I have been trying just about everything I can find on the web to make rails-api work with strong_parameters but no matter what I do, I get the following error: NoMethodError (undefined method `permit' for {email: x...@xxx.org, password: x}:String): All of the answers I

Re: [Rails] Making rails-api (rails 4.0.2/9) work with strong parameters.

2015-07-24 Thread Donald Ziesig
strong parameters) to one derived from ::Base (which does support strong parameters). :'( . On 07/24/2015 10:09 PM, BuyzLots wrote: Your payload looks like a string, is permit something you can call on a string object? On Jul 24, 2015, at 9:31 PM, Donald Ziesig don...@ziesig.org wrote: Hi

Re: [Rails] New gem: copy_rails_tutorial

2014-10-08 Thread Donald Ziesig
Jason, This is cool, but have you checked out Hobo? I can have a basic app, complete with user authentication, invitation emails, etc. in less than 5 minutes from the time I type hobo new my_app till I type rails server. If you need customization of the basic app's appearance or database

Re: [Rails] Re: navigation list order by

2014-03-04 Thread Donald Ziesig
Hi Steve: Try the following: % Category.order(id DESC).each do |category| % rather than Category.all ... See http://guides.rubyonrails.org/active_record_querying.html#ordering Don Ziesig On 03/04/2014 12:04 PM, Steven Cahill wrote: Thanks Rick on the actual categories page the categories

Re: [Rails] What's the best way to approach reading and parse large XLSX files?

2013-10-11 Thread Donald Ziesig
On 10/11/2013 11:30 AM, Monserrat Foster wrote: One 3+ row file and another with just over 200. How much memory should I need for this not to take forever parsing? (I'm currently using my computer as server and I can see ruby taking about 1GB in the task manager when processing this (and