[Rails] Re: Private Message System Rails 4

2014-01-11 Thread Robert Jewell
Robert Jewell wrote in post #1132839: > Hi Walter, per your request, here's a gist of my users_controller, which > corresponds with the form's view: > https://gist.github.com/rjewell2200/8364397 > It looks like I found the problem. I needed to add the following code under the, send_private_messag

[Rails] Re: Hartl rails tutorial need help - regd "Test-driven development" introduction

2014-01-11 Thread Arup Rakshit
Max Maxwell wrote in post #1132841: > please post the test code you're trying to run. also, unless it's a lot > of > hth, > > Max Sorry! For the confusions. I expect it to fail. What made me confused is - *expected #has_content?("Sample App") to return true, got false*. Because the tutorial i

[Rails] [Job] Looking for Ruby On Rails Developer in SF to create MVP

2014-01-11 Thread Kendall Saville
I am looking for an experienced developer to create an MVP for an App Discovery site. I have the funding and site design, I just need the right person that can help create a scalable web application. Ideally they would be located in SF or anywhere in the bay area. Please contact me at kendall[a

Re: [Rails] Re: Hartl rails tutorial need help - regd "Test-driven development" introduction

2014-01-11 Thread James Turley
Boot up the server and look at the page in your browser. See if the phrase "Sample App" is on it (case sensitive), or if there's a nice big red error message. On Sat, Jan 11, 2014 at 6:30 PM, Max wrote: > please post the test code you're trying to run. also, unless it's a lot > of text, add th

[Rails] Re: each.with_index

2014-01-11 Thread Max
As Dave answered, modulus is your answer - a.each_with_index do |obj, idx| if (idx % 5 == 0) # this is your starting point for each group of 5 end # do other stuff here... end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g

[Rails] Re: Hartl rails tutorial need help - regd "Test-driven development" introduction

2014-01-11 Thread Max
please post the test code you're trying to run. also, unless it's a lot of text, add the html for the page you're testing. the test is looking at the html being returned by the rails controller to see if it has the text "Sample App" in it and it's failing because it's not finding that text. t

[Rails] Re: Private Message System Rails 4

2014-01-11 Thread Robert Jewell
Walter Davis wrote in post #1132809: > On Jan 10, 2014, at 6:13 PM, Robert Jewell wrote: > > It might be instructional for you to post the controller that handles > this form, I don't see anything wrong here, except unless you are adding > the sender_uid in that controller, I don't see it being

Re: [Rails] Expose complex dynamic queries over REST

2014-01-11 Thread Dave Aronson
On Fri, Jan 10, 2014 at 3:14 PM, Colin Taylor wrote: > I'm trying to build a web application for data analysis. The > client can send ad-hoc queries to my back-end data service. I would advise you question the need for this. Not because it's difficult in Rails, but for security. Imagine what s

[Rails] Expose complex dynamic queries over REST

2014-01-11 Thread Colin Taylor
I'm trying to build a web application for data analysis. The client can send ad-hoc queries to my back-end data service. For example: (foo >= 10 OR bar == 'baz') AND bat < 10 Is there a rails/activerecord standard for sending this type of query through REST? A DAO / method_missing won't work be

[Rails] Ruby on Rails clone in NodeJS

2014-01-11 Thread Alexey Petrushin
It's basically done and used for private projects, but it's not polished and there's no documentation, only some examples. MonoJS http://monojs.org - RoR clone in NodeJS. Examples to play: - Classical RoR 10 Blog http://example.monojs.org - Simple CMS Blog http://jslang.gitsites.com Editin