[Rails] GSoC Code Generalization ideas for avoiding redundant code

2015-03-09 Thread Philipp Näö
Hey, I would like to contribute to Rails with a GSoC project. I recognized a lot of redundant code in the controllers of my rails projects and therefore I developed a gem to avoid these redundant and simple code for the controllers: https://github.com/philippneugebauer/SimpleController That's

[Rails] New gem - testing execution of controller action filters with RSpec

2015-03-09 Thread Lazarus Lazaridis
Hello everybody, I published my first gem (rspec-matchers-controller_filters ) for testing execution of before/around/after filters of controller actions with RSpec. https://github.com/iridakos/rspec-matchers-controller_filters An

[Rails] ruby on rails first app creating problem

2015-03-09 Thread Olivier Batard
You can easily use debian or Archlinux on a virtual machine on windows with virtualbox. Forget windows with rails. -- 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 an

Re: [Rails] Bug on blog - number of views not showing in ruby on rails app.below is the code used

2015-03-09 Thread Colin Law
On 9 March 2015 at 11:52, Sailatha Kashamoni wrote: > > > > > app/assets/javascripts/blog/show.js.erb: > > > $(document).ready(logView); > function logView() { > var id = $('div.blog_post').data('id'); > InternalAnalytics.postEvent(id, 'view'); > } > app/views/blog

[Rails] Bug on blog - number of views not showing in ruby on rails app.below is the code used

2015-03-09 Thread Sailatha Kashamoni
app/assets/javascripts/blog/show.js.erb: $(document).ready(logView); function logView() { var id = $('div.blog_post').data('id'); InternalAnalytics.postEvent(id, 'view'); } app/views/blog/show.html.erb:  <%= @blog_post.view_count

[Rails] Work with BitPesa: Help build Africa’s most exciting FinTech Startup!

2015-03-09 Thread Shiku Ngigi
Hi everyone, We're looking for a versatile Full-stack Ruby on Rails Engineer(s) at BitPesa , Africa’s Digital Currency Exchange where our customers can trade, spend and send money faster and cheaper than anywhere else. *Skills & Requirements:* Ruby CoffeeScript jQu

Re: [Rails] Re: ruby on rails first app creating problem

2015-03-09 Thread Vivek Sampara
Yes. you wont find any performance issues between a MAC and UBUNTU. But i personally like MAC :) On Mon, Mar 9, 2015 at 3:09 PM, moein rahimi wrote: > > > On Sunday, March 8, 2015 at 5:57:20 PM UTC+3:30, James Davis, PhD wrote: >> >> Please post the entire error message. >> >> While you can deve

[Rails] Re: ruby on rails first app creating problem

2015-03-09 Thread moein rahimi
On Sunday, March 8, 2015 at 5:57:20 PM UTC+3:30, James Davis, PhD wrote: > > Please post the entire error message. > > While you can develop in Windows, most developers I know use Mac or > Ubuntu. If you want to get serious about Rails development, consider > switching. thanks for reply, is u

[Rails] Re: accepts_nested_attributes_for

2015-03-09 Thread Sai Ch
please give me the solution. -- Posted via http://www.ruby-forum.com/. -- 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 an email to rubyonrails-talk+unsubscr...@goog

[Rails] accepts_nested_attributes_for

2015-03-09 Thread Sai Ch
Hello, I'm using accepts_nested_attributes_for for my project. Models Course: belongs_to :user has_many :holes has_many :scores accepts_nested_attributes_for :holes Hole : belongs_to :user belongs_to :course