[Rails] Re: #

2014-10-30 Thread Johann Vazquez
Johann Vazquez wrote in post #1161364: > I have the same problema on Windows7, with the following code: > > This generates EMFILE Error (BINARY Mode): > File.open(compiled_filename, "wb") do |f| > f.puts(version) > f.puts(sha) > f.write(contents) > end > > This one, NOT!! (TEXT Mode):

[Rails] [ANN] Rails 3.2.20, 4.0.11, 4.1.7, and 4.2.0.beta3 have been released

2014-10-30 Thread Aaron Patterson
Hello everyone!!! It's that time again. I would like to announce that Rails 3.2.20, 4.0.11, 4.1.7, and 4.2.0.beta3 have been released. These releases contain a security fix where the existence of arbitrary files on the file system can be leaked, but the contents of the file **will not** be lea

Re: [Rails] rails version and copying app

2014-10-30 Thread Robert Fitzpatrick
Colin Law wrote: That tells you it is rails 4.0.0 as activemodel is one of the components. However, rather than seeing what versions are installed (there could be more than one version of the gems installed) look in the file Gemfile.lock in the applications root folder and you will see what vers

[Rails] has_many through association on unsaved objects

2014-10-30 Thread Markus D.
Hello, I just stumbled upon a behaviour about associations I do not really understand why Rails/ActiveRecord cannot get the connection. Using activerecord (4.2.0.beta2). To describe it, lets work with theses models: class User < ActiveRecord::Base has_many :project_participations has_m

[Rails] Re: Need Quality E-Commerce Samples

2014-10-30 Thread Matt Jones
On Wednesday, 29 October 2014 18:17:10 UTC-4, john...@gmail.com wrote: > > My boss is finally willing to listen to moving to a quality open sourced > platform for our e-commerce web site, but she needs 'concrete examples' to > believe that moving to ruby on rails is a good solution. And she ne

Re: [Rails] Unable to delete the table created.

2014-10-30 Thread Colin Law
On 30 October 2014 16:11, K.S. Koushik wrote: > > This is the ruby code of the migration. > > (class CreateUsers < ActiveRecord::Migration > def up > create_table :users do |t| > t.string "first_name",:limit =>25 > t.string "last_name", :limit =>50 > t.string "email",:default =>

[Rails] Re: Need Quality E-Commerce Samples

2014-10-30 Thread Frederick Cheung
On Wednesday, October 29, 2014 10:17:10 PM UTC, john...@gmail.com wrote: > > My boss is finally willing to listen to moving to a quality open sourced > platform for our e-commerce web site, but she needs 'concrete examples' to > believe that moving to ruby on rails is a good solution. And she

[Rails] Re: Need Quality E-Commerce Samples

2014-10-30 Thread Daniel
http://www.opensourcerails.com/ http://www.opensourcerails.com/spree/ On Wednesday, October 29, 2014 11:17:10 PM UTC+1, john...@gmail.com wrote: > > My boss is finally willing to listen to moving to a quality open sourced > platform for our e-commerce web site, but she needs 'concrete examples' t

[Rails] Unable to delete the table created.

2014-10-30 Thread K.S. Koushik
This is the ruby code of the migration. (class CreateUsers < ActiveRecord::Migration def up create_table :users do |t| t.string "first_name",:limit =>25 t.string "last_name", :limit =>50 t.string "email",:default => "",:null => false t.string "password",:limit => 40 t

[Rails] Re: Need Quality E-Commerce Samples

2014-10-30 Thread Nicholas Henry
You could take a look at the list of sites on Spree's website (scroll half way down) http://spreecommerce.com/. Spree is an open source e-commerce platform written in Rails. On Wednesday, October 29, 2014 6:17:10 PM UTC-4, john...@gmail.com wrote: > > My boss is finally willing to listen to movi

[Rails] rails prefix url

2014-10-30 Thread Claudiu Clau
Hello rails! I have a question for you and maybe I will get some help :) I want to prefix my url routes at the end of the url example: *www.example.com/rails/_rb* or *www.example.com/foo/bar/_br* Any idea? thx! -- You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: #

2014-10-30 Thread Johann Vazquez
I have the same problema on Windows7, with the following code: This generates EMFILE Error (BINARY Mode): File.open(compiled_filename, "wb") do |f| f.puts(version) f.puts(sha) f.write(contents) end This one, NOT!! (TEXT Mode): File.open(compiled_filename, "w") do |f| f.puts(ver