[Rails] Why Did Capybara Move Specs into spec/features?

2013-03-30 Thread Peter
Hello Everyone, I am new to Ruby on Rails. I just finished Michael Hartl's *Ruby on Rails Tutorial* and I just started on *Agile Web Development with Rails, Fourth Edition* by Sam Ruby

Re: [Rails] Help with Ruby on Rails

2013-03-30 Thread Julian Leviston
On 29/03/2013, at 9:45 PM, Anwaar Ansari wrote: > Hello.. > > Can anyone help me in make a KIckstarter-like site with Ruby on Rails? > IF anyone helps me.. I would be really happy.. > > Anwaar You will be helped to the degree you put effort in. Start in small steps. The first step is to lear

Re: [Rails] using partials

2013-03-30 Thread Colin Law
On 30 March 2013 20:59, Jay notReq wrote: > On the left hand side of my page there is a list of documents that the > user has already created. And a form to create/edit documents. > > | list of documents| Edit/Create documents| > |||

[Rails] using partials

2013-03-30 Thread Jay notReq
On the left hand side of my page there is a list of documents that the user has already created. And a form to create/edit documents. | list of documents| Edit/Create documents| ||| ||

[Rails] Help with Ruby on Rails

2013-03-30 Thread Anwaar Ansari
Hello.. Can anyone help me in make a KIckstarter-like site with Ruby on Rails? IF anyone helps me.. I would be really happy.. Anwaar -- 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 email

[Rails] looking for remote job /**Ruby On Rails**/

2013-03-30 Thread Eugene Karpenko
Hello, I've been actively learning RoR for about half a year. There are two projects: http://duhanci.herokuapp.com/, http://ukrstyle.herokuapp.com/ , which were written for learning purposes. My code on GitHub: https://github.com/ezhenezhen About me: 25 years old. RoR, GIT, GitHub, Heroku - half

[Rails] Re: How to use group in nested associations

2013-03-30 Thread Serguei Cambour
I found the way to do that as follows: either by defining a scope in the Timesheet model: scope :all_by_start_date, joins(:time_entries).select("timesheets.start_date, sum(time_entries.worktime) as total_days").group('timesheets.start_date') or the same and full console syntax to check it cons

[Rails] How to use group in nested associations

2013-03-30 Thread Serguei Cambour
The below query fails: Timesheet.joins(:time_entries).select("timesheets.*, sum(time_entries.worktime) as total").group("timesheets.start_date") The models have the following relations: Timesheet < AR has_many :activities, dependent: :destroy, inverse_of: :timesheet has_many :time_entries,

[Rails] run RailsServer on aptana studio 3

2013-03-30 Thread Ziburu Debian
hi i want to run my ruby application on aptana studio 3.0 : when i run the railsserver i have this message : C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:106:in `require': cannot load such file -- initializer (LoadError) from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems