Re: [Rails] No More Javascript Petittion website

2014-11-02 Thread Sampath Munasinghe
Sounds interesting. put some commnets. lets see how they will come On Mon, Nov 3, 2014 at 1:42 AM, Jonathan Blasquez wrote: > Came across this website that is trying to get another langauge to replace > javascript. It actually specifically talks about having ruby be the next > language so yo

Re: [Rails] form_for not passing id?

2014-11-02 Thread Sampath Munasinghe
Form_for will get the :id by default. which version are you using and please paste the controller code here. tks On Mon, Nov 3, 2014 at 10:16 AM, BalaRaju Vankala wrote: > Hey Dave, > > I think may be error in your controller, can you once again check > profiles controller edit action > > > > O

Re: [Rails] Database design suggestion required

2014-11-02 Thread Vladimir Gordeev
It is expected to be indexable? What parts of it? On Sun, Nov 2, 2014 at 5:01 PM, Gane R wrote: > Hi all, > > I have an requirement of parsing an xml to db. > > XML file has a schema and it is subjected to change over a period of time. > I want to know how to map this xml to Database table. > >

Re: [Rails] form_for not passing id?

2014-11-02 Thread BalaRaju Vankala
Hey Dave, I think may be error in your controller, can you once again check profiles controller edit action On Mon, Nov 3, 2014 at 7:27 AM, Dave Castellano wrote: > Hi, > When I try to update a field using the update button I am getting the > error: No route matches [PATCH] "/profile". Its

[Rails] form_for not passing id?

2014-11-02 Thread Dave Castellano
Hi, When I try to update a field using the update button I am getting the error: No route matches [PATCH] "/profile". Its obviously missing the /:id but I can't figure out why... I am using a form_for in an edit view. <%= form_for @profile, :html => { :class => 'form-horizontal '} do |f| %>

[Rails] Database design suggestion required

2014-11-02 Thread Gane R
Hi all, I have an requirement of parsing an xml to db. XML file has a schema and it is subjected to change over a period of time. I want to know how to map this xml to Database table. Is this something like XSD to Dynamic class to ActiveRecord. I am new to this. How can I do this please sugges

[Rails] No More Javascript Petittion website

2014-11-02 Thread Jonathan Blasquez
Came across this website that is trying to get another langauge to replace javascript. It actually specifically talks about having ruby be the next language so you can build your whole rails app with one language http://www.nomorejavascript.com/ -- You received this message because you are

[Rails] Re: Using Dropbox in Rails

2014-11-02 Thread Amber Flynn
Hi, I could really use some help. I keep getting this error and I can't figure out how to fix it. Does it have anything to do with the redirect URIs in the App Console > Settings of the Dropbox app I created? I'm running into lots of bugs and spent the entire day trying to figure them out. Noth

Re: [Rails] Re: rails prefix url

2014-11-02 Thread Colin Law
On 2 November 2014 16:27, Claudiu Clau wrote: > Hello, > > thx for reply > > example > > localhost:3000/posts/amazing-post > I want to be: localhost/amazing-post/_post > localhost:3000/cities/berlin > I want to be: localhost:3000/berlin/_city Have a look at the Rails Guide on routing and you will

Re: [Rails] Re: rails prefix url

2014-11-02 Thread Hassan Schroeder
On Sun, Nov 2, 2014 at 8:27 AM, Claudiu Clau wrote: > localhost:3000/posts/amazing-post > I want to be: localhost/amazing-post/_post > localhost:3000/cities/berlin > I want to be: localhost:3000/berlin/_city So if that's the desired result, what is the problem? You can manually create whatever a

Re: [Rails] Re: rails prefix url

2014-11-02 Thread Claudiu Clau
Hello, thx for reply example localhost:3000/posts/amazing-post I want to be: localhost/amazing-post/_post localhost:3000/cities/berlin I want to be: localhost:3000/berlin/_city best On Sunday, November 2, 2014 4:32:33 PM UTC+1, Hassan Schroeder wrote: > > On Sun, Nov 2, 2014 at 1:48 AM, Claud

Re: [Rails] Re: rails prefix url

2014-11-02 Thread Hassan Schroeder
On Sun, Nov 2, 2014 at 1:48 AM, Claudiu Clau wrote: > So nobody has any clue how to solved this? :) Maybe nobody understands what you want to do -- >> I want to prefix my url routes at the end of the url "prefix" and "at the end" are mutually exclusive. Perhaps if you gave an example that exp

[Rails] Re: difference between in_groups and in_groups_of Rails

2014-11-02 Thread Frederick Cheung
On Saturday, November 1, 2014 8:41:12 PM UTC, Arup Rakshit wrote: > > Hi, > > I am not finding any difference between the 2 methods - in_groups and > in_groups_of. Is their really any difference between in_groups and > in_groups_of.. > http://api.rubyonrails.org/classes/Array.html#method-i-i

[Rails] Growing Start Up - £1m Funding - Goolge, BBC and Jamie Oliver are Clients!

2014-11-02 Thread Ysemay Hackett-Evans
Ruby on Rails developer for Expanding Start up (Ruby on Rails, Python, Clojure), London Location: London, Farringdon Salary: £35-70k plus Stock Options and Friday Lunch Club Join Growing Dev Team at Highly Successful Start Up (Ruby on Rails, Python, Clojure) *The Company* The client

[Rails] Re: rails prefix url

2014-11-02 Thread Claudiu Clau
Hello, So nobody has any clue how to solved this? :) On Thursday, October 30, 2014 4:14:30 PM UTC+1, Claudiu Clau wrote: > > 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/_r

[Rails] Re: Using Dropbox in Rails

2014-11-02 Thread Amber Flynn
thanks so much Jim I'm going to try this! -- 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+uns