[Rails] Re: Change label based on selected dropdown [Ruby on Rails 4.2]

2016-05-24 Thread Marcus Chia
I am getting the current error in js console, TypeError: network_details[network_index] is undefined help? -- 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

[Rails] Change label based on selected dropdown [Ruby on Rails 4.2]

2016-05-24 Thread Marcus Chia
my SO Link http://stackoverflow.com/questions/37416737/change-label-based-on-selected-dropdown-ruby-on-rails-4-2 I have a table called network it has the column type and number. I use this select_tag to get a list of all my network names: <%= select_tag('NetworksList', options_from_collection_fo

[Rails] Re: Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
The only response in the console before I click on withdraw is: event.returnValue is deprecated. Please use the standard event.preventDefault() instead I tried to go back to then (I have everything on github), but I was unsuccessful in getting it to run. Even if I revert to a previous commit, it

[Rails] Re: Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
The only response in the console before I click on withdraw is: event.returnValue is deprecated. Please use the standard event.preventDefault() instead I tried to go back to then (I have everything on github), but I was unsuccessful in getting it to run. Even if I revert to a previous commit,

[Rails] Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
Hello, I've been stuck on an issue for a few days now and I haven't been able to find any help online (asked multiple questions on stackoverflow). I'm not sure what to do anymore. Basically, I have a model 'competition' that allows users to attend it. The user can click 'attend' or 'withdraw' and

[Rails] My rails app does not work

2014-01-27 Thread Marcus Vinicius
Hi, my app is not work. Can you help me? cannot load such file -- bundler Application log: [ pid=11873 thr=69923239138300 file=utils.rb:176 time=2014-01-27 20:00:04.706 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (cannot load such file -- bundler) (process 11873

[Rails] Help on rails publication

2014-01-22 Thread Marcus Vinicius
Hello guys I am trying to publish a test application on my linux server. When I run the application in development (port 3000) so it works properly. When I try to access via url (port 80) the list server files instead of running the application. Can anyone help me? Anyone know a good tutori

Re: [Rails] Array param does not work

2013-12-04 Thread marcus
Hi tamouse, thank you your replay. I close the hash but the erro continues, see: *My code:* reponse = RestClient.post( 'https://mandrillapp.com/api/1.0/messages/send.json', {:key => "X", :message => { :html => 'teste', :text => 'Example text content', :subject => 'example s

[Rails] Array param does not work

2013-12-04 Thread marcus
Hello, in my code, the array param does not work. reponse = RestClient.post( 'https://mandrillapp.com/api/1.0/messages/send.json', {:key => "X", :message => { :html => ' teste ', :text => 'Example text content', :subject => 'example subject', :from_email => 'te...@handcom.c

[Rails] Dont uncheck checkboxs on update partial

2010-10-20 Thread Marcus Sá
Hello, I have a partial that returns a list of checkboxs so that the user can select ... And I have a text field for the user to include those not yet registered. When he sends this new value I update my list of checkboxs including one he sent. However, all checkboxs that are checked are unchecked.

[Rails] NearMe, new site made with Ruby on Rails

2010-08-24 Thread Marcus
Marcus Sá http://www.woompa.com.br Starting up for never stop! -- 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 post to this group, send email to rubyonrails-t...@googlegrou

Re: [Rails] Re: Admin interface for Rails?

2010-08-02 Thread Marcus
I posted on my blog a few alternatives with screenshots ... Take a look there ... Is in pt-BR, but has pictures and links and easy to understand ... http://marcus-sa.posterous.com/interfaces-para-areas-de-admin-em-rails Regards 2010/8/2 rodrigo3n : > Thanks Andy and David, both seems g

[Rails] Re: Multiple flow_paginator in same view...

2010-08-02 Thread Marcus
Marcus Sá wrote: > Hello, I'm a Rails developer from Brazil and would like to use your > gem flow_paginator, but would like to have three buttons displaying > the contents of three different divs, for example in github saw that I > can only use one that way, there are some impl

[Rails] Multiple flow_paginator in same view...

2010-07-30 Thread Marcus
r for a view? Sorry for my English ... Thanks! _ Marcus Sá http://www.woompa.com.br Starting up for never stop! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Watermark with Ruby on Rails

2010-07-14 Thread Marcus
To whom it may concern, a way to create watermarks with ruby on rails, imagemagick, attachment_fu and mini-magick in Portuguese, but the code is in English;) http://www.woompa.blog.br/2010/07/14/adicionando-marca-dagua-nas-suas-imagens-com-imagemagick-e-mini-magick/ Tnks! -- You received this m

[Rails] IDE - asp.net v. RoR for new programmer?

2009-08-01 Thread Marcus Muller
Not trolling here, but genuinely trying to figure out what to use for a project I'd like to create. I'm very new to programming (some intro classes at university) and am debating between learning asp.net versus ruby on rails to create the project. I'd very much prefer to learn ruby, but it seems

[Rails] Re: AR-extensions didn't speed things up -- why not?

2009-03-19 Thread Marcus Persson
Greg Donald wrote: > On Wed, Mar 4, 2009 at 10:56 AM, zdennis wrote: >> If you know of a way to mold sqlite for efficient importing of data I >> am all ears. > > Wrap your inserts in a transaction. > > > -- > Greg Donald > http://destiney.com/ Reference for future readers -- a transaction doe

[Rails] New form ends up in index.

2008-09-22 Thread Marcus
I have a problem with a form. When i submit it when running mongrel it works great and it send the post-request to the create action, but when i run it through fastcgi the post request ends up as a get request to the index action. Anyone recognise this? --~--~-~--~~~