[Rails] Getting Started with Ruby - Guide

2013-09-15 Thread Green Eco
Hi, I am making the Ruby on Rails Getting Started Guide at: http://guides.rubyonrails.org/getting_started.html but I have one problem. Almost everything is well explained but at 5.7 and 5.8 there are two commands: post GET/posts/:id(.:format) posts#show posts GET/posts(.:format)

Re: [Rails] Getting Started with Ruby - Guide

2013-09-15 Thread Tamara Temple
On Sep 15, 2013, at 6:12 AM, Green Eco li...@ruby-forum.com wrote: Hi, I am making the Ruby on Rails Getting Started Guide at: http://guides.rubyonrails.org/getting_started.html but I have one problem. Almost everything is well explained but at 5.7 and 5.8 there are two commands: post

[Rails] Re: Getting Started with Ruby - Guide

2013-09-15 Thread Green Eco
tamouse m. wrote in post #1121496: On Sep 15, 2013, at 6:12 AM, Green Eco li...@ruby-forum.com wrote: and it is not explained where I should put them. So I tried a few things, but especially the second one is I guess essential without I get an error message, for the first one I could manage

[Rails] DateTime now

2013-09-15 Thread John Merlino
When using DateTime.now, does the now method return the time based on the remote OS system time or the local time where the user actually invoked the now method, if they are using ssh and running the commands in a rails console, for example? -- You received this message because you are

Re: [Rails] DateTime now

2013-09-15 Thread Colin Law
On 15 September 2013 15:51, John Merlino stoici...@aol.com wrote: When using DateTime.now, does the now method return the time based on the remote OS system time or the local time where the user actually invoked the now method, if they are using ssh and running the commands in a rails console,

[Rails] Re: Looking for Ruby on Rails developer for eCommerce project

2013-09-15 Thread John Moon
Hey Mills, I would like to work with you for the eCommerce project. I have used Spree before. On Tuesday, September 10, 2013 6:49:16 PM UTC-4, Mills Hawkins wrote: Looking for Ruby on Rails developer for eCommerce project. Preferably in Columbus, OH -- You received this message because

[Rails] Why does Rails convert scopes to downcase

2013-09-15 Thread Nicolas Mauchle
I found a strange behavior in Rails 4 with scopes when I use postgres. I have a Object with saleStartDate and saleEndDate attributes. scope :active, - { where(isActivate: true) } scope :activeDate, - { active.where(? BETWEEN saleStartDate AND saleEndDate, Date.today)} When I use sqlite,

Re: [Rails] Re: Looking for Ruby on Rails developer for eCommerce project

2013-09-15 Thread thiagocifani
I am not from USA, but I have a lot of ecommerce skills, please contact me if you have any interest. 2013/9/15 John Moon johnmoo...@gmail.com Hey Mills, I would like to work with you for the eCommerce project. I have used Spree before. On Tuesday, September 10, 2013 6:49:16 PM UTC-4,

Re: [Rails] Why does Rails convert scopes to downcase

2013-09-15 Thread Scott Ribe
On Sep 15, 2013, at 5:48 AM, Nicolas Mauchle nmauc...@gmail.com wrote: Postgres is case sensitive! So why does Rails convert saleStartDate to salestartdate in a scope? You misunderstand postgres. It implements the case insensitivity required by SQL standards via a bit of a kludge--downcasing