Re: [Rails] Re: ROR + React

2019-08-19 Thread Noel
There are at least 4 different ways that I'm familiar with and tons of resources to help you execute the way that works best for you. Here's the ones I've learned from researching: 1. Approach 1 - CDN based inclusion in header - You can include it just as a link on the html pages you want

Re: [Rails] Basics: How does Javascript communicate with Ruby on Rails?

2019-08-13 Thread Noel
th too many assumptions and not > enough explanation. But nothing substitutes good old fashioned trial & > error. > > > Finally, I would strongly recommend you start with a solid foundation of > Ruby, as I know many people who tried to learn Rails before Ruby and got >

Re: [Rails] Basics: How does Javascript communicate with Ruby on Rails?

2019-08-07 Thread Noel
You just hit everything that I was trying to figure out and then some. This is what I’ve been needing to know(I can’t be certain of the that). Last question, how did you figure that out?; because that’s where this is kind of embarrassing, that I’ve held out to ask this for so long for fear. I’m

Re: [Rails] Basics: How does Javascript communicate with Ruby on Rails?

2019-08-07 Thread Noel
Genuinely, I thank both of you for your insights. Without stretching this thread out any more, I want to figure out one last concept. Form data, based on what was mentioned above, is it that the headers dictate what is passed on as data to be persisted? Like where in the chain of events does

[Rails] Basics: How does Javascript communicate with Ruby on Rails?

2019-08-06 Thread Noel
Hello to All, I'm trying to understand something that I seem to get lost on, which is how exactly does Javascript communicate with Rails? I understand how to make it work, I can even make a React front-end and Rails API work together. But I feel like I am missing something fundamental when

Re: [Rails] RoR integration with Siteminder?

2013-08-25 Thread Noel
At my company I have it set up via an apache module which intercepts every request for authentication and it redirects back with headers like SM_USER Sent from my iPhone On Aug 24, 2013, at 3:35 PM, Les Hartzman lhartz...@gmail.com wrote: Hello, I'm new to RoR and am wondering what has to

Re: [Rails] New in town

2012-10-05 Thread Noel
On Thu, Oct 4, 2012 at 2:52 PM, Richard McKenna richarddmcke...@gmail.com wrote: Hi all, I'm just stepping into the what seems the wonderful world of Ruby/Rails and was just looking for some recommendations for reading materials, resources etc. I am currently watching the Ruby Essential

[Rails] redirect_to flash

2012-03-07 Thread Noel
this: redirect_to suppliers_path, :success = 'Supplier was successfully created.' } - Noel -- 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-talk@googlegroups.com. To unsubscribe from this group, send email

[Rails] Charset encoding issue

2012-03-07 Thread Noel
the encoding and no matter which I select I can't get the text to render correctly. Also, why would it render correctly on the console? Thanks, Noel -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

Re: [Rails] Re: redirect_to flash

2012-03-07 Thread Noel
created.' } Thanks Tim, I didn't get that from the code. When I used redirect_to I was expecting redirect_to suppliers_path, :whatever would produce flash[:whatever] At least this is a good workaround for me. - Noel -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Gemfile.local along with Gemfile?

2012-02-18 Thread Noel
On Sat, Feb 18, 2012 at 9:51 AM, Danimal fightonfightw...@gmail.com wrote: Hi all! I'm wondering if there is any elegant way to have some gems locally in a rails 3.2 + ruby 1.9 project but not have them in the Gemfile and therefore not in source control. The reason is very similar to this:

Re: [Rails] learning Ruby and rails

2012-02-16 Thread Noel
On Tue, Feb 14, 2012 at 4:01 PM, Jeff Kyzer kyzer...@gmail.com wrote: Hello So i am trying to learn Ruby and Rails.  My biggest problem right now is my platform. Any good setup for ruby on rails for windows?  or would it just be easier to put unix/lynics on my computer. My other question

Re: [Rails] Experiences using Database.com with Ruby on Rails

2012-02-13 Thread Noel
On Mon, Feb 13, 2012 at 9:47 AM, Andrew misbehav...@gmail.com wrote: Hello, My boss is really pushing us to switch to using Database.com for our database. He seems to think it's the solution to every problem we've never had. I've never worked with it before, so I don't know how it compares to

Re: [Rails] Issue while deploying to heroku with Rails 3.2.1, ruby 1.9.3-p0, using twitter/bootstrap.

2012-02-09 Thread Noel
On Thu, Feb 9, 2012 at 7:59 PM, Manoj W. li...@ruby-forum.com wrote: Hi, I am new to Rails and am following Rails tutorials by Michael Hartl and Rails guides. I have deployed an app to Heroku, but I get this error while trying to access it (from heroku logs) - Completed 500 Internal Server

Re: [Rails] Re: Create new Rails with mysql default on database.yml

2012-01-22 Thread Noel
In 3.2 you can define .railsrc with custom command line options that will always apply to rails new Sent from my iPhone On Jan 22, 2012, at 8:01 PM, Norm Scherer normsche...@earthlink.net wrote: On 01/22/2012 06:16 PM, Felipe Pieretti Umpierre wrote: Ok, but how I can make the mysql be

[Rails] Ejecutar accion automaticamente

2011-11-18 Thread Felix Noel Abelardo
Hola a todos, me gustaria saber de que forma puedo ejecutar el codigo que tengo en una accion de forma automatica. Me explico mejor: Yo tengo un codigo que actualiza tablas de una base de datos con datos de otra, eso lo tengo hecho en Ruby on Rails con una accion de una vista pero me gustaria

Re: [Rails] Re: Generate model from database

2011-10-20 Thread Noel
On Thu, Oct 20, 2011 at 8:20 AM, genterminl ostrof...@users.sourceforge.net wrote: Tim, Thanks.  That looks like exactly what I need to get started.  I'm simply not familiar enough yet with ruby or rails to have come up with that from scratch myself, but I can certainly use it and modify it

[Rails] Re: formtastic / activeadmin

2011-10-11 Thread Noel Hwande
Remco Swoany wrote in post #1025137: tried this: f.inputs Appartment Details do f.input :assets do |asset_fields| asset_fields.file_field.input :asset, :as = :file end end there is no upload button available. What i am doing wrong? Grtz..Swoany Hi, were you

Re: [Rails] network of volunteer rubists for humanitarian projects

2011-09-26 Thread Noel
Railsbridge had a project/site for this. Not sure if they r still active. Sent from my iPhone On Sep 26, 2011, at 5:00 AM, Nicolas M. li...@ruby-forum.com wrote: Hi, Do you know the existence of networks of volunteers in the ruby on rails community willing to be involved or being consulted

Re: [Rails] help me, I can't run

2011-09-13 Thread Noel
have u tried the latest railsinstaller? On Tue, Sep 13, 2011 at 4:27 AM, Lee sorlo...@gmail.com wrote: Hi, I installed railsinstaller. and ... rails s TCPServer Error: Permission denied - bind(2) Exiting C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/utils.rb:73:in

Re: [Rails] How do I change the name of a label in a form?

2011-08-28 Thread Noel
%= f.label My label %br / On Sun, Aug 28, 2011 at 10:01 AM, Pepe Sanchez li...@ruby-forum.com wrote: Hi, Instead of having on the labels the field name I would like to change it some customized values. How can I change that ? Regards %= form_for(@client_workout) do |f| %  div

Re: Re: [Rails] Helper methods in coffescript files

2011-08-04 Thread Noel
you can do myfile.js.coffee.erb first it will be processed by ERB then CoffeeScript On Thu, Aug 4, 2011 at 4:59 AM, robertj rob...@robkuz.com wrote: Hi, apart from the fact, that it might not be a good idea in terms of performance ... Is it possible? I am trying the same. Best regards

Re: Re: [Rails] Helper methods in coffescript files

2011-08-04 Thread Noel
sorry, had not read the full original post On Thu, Aug 4, 2011 at 5:32 AM, Noel wwydi...@gmail.com wrote: you can do myfile.js.coffee.erb first it will be processed by ERB then CoffeeScript On Thu, Aug 4, 2011 at 4:59 AM, robertj rob...@robkuz.com wrote: Hi, apart from the fact

Re: [Rails] Simple search of entire database?

2011-07-15 Thread Noel
better to post the code here gist.github.com On Fri, Jul 15, 2011 at 10:50 AM, Jen jen.bot...@gmail.com wrote: Hi, I am trying to code a simple search, that will search my database for something like what ever the user enters. I can get the form to render ok, but am having some problems

Re: [Rails] After deleting the record , page is redirecting to Edit scree.

2011-07-14 Thread Noel
On Thu, Jul 14, 2011 at 5:18 AM, Simbolla vinod...@gmail.com wrote: Hi All, I am Vinod , new learner of Ruby on rails , i just followed the steps given in the Getting started with Rails in rubyguides , in that i am facing some wiard issue.. that is When i click on the Destroy link in show

Re: [Rails] Validating for Real Zipcodes

2011-07-08 Thread Noel
Sent from my iPhone On Jul 8, 2011, at 12:52 PM, Conrad Taylor conra...@gmail.com wrote: On Fri, Jul 8, 2011 at 12:29 PM, bertly_the_coder much...@gmail.com wrote: Hi guys, I have a location sensitive application where clients enter their zipcodes when signing up. Is there any tool out

Re: [Rails] simple form question

2011-07-07 Thread Noel
it sounds like users can only create sites to their own customer records. This is authorization and can do handled with something like the cancan gem. On Thu, Jul 7, 2011 at 5:36 AM, paulo paul.a.taylo...@gmail.com wrote: Hi folks, I've done this a few ways that have all seemed a bit

Re: [Rails] Re: Rails Installer Problem

2011-06-30 Thread Noel
try git commit -m Initial. On Thu, Jun 30, 2011 at 1:38 PM, frandan...@gmail.com frandan...@gmail.com wrote: That did it.  Thanks. New problem... C:\Sites\ridemogit init Initialized empty Git repository in C:/Sites/ridemo/.git/ C:\Sites\ridemogit add . C:\Sites\ridemogit commit Initial.

Re: [Rails] undefined method culture_id

2011-06-14 Thread Noel
I think the problem is that you dont have :culture_id = in the Picture model. Is that right? On Tue, Jun 14, 2011 at 7:19 AM, Yennie joanne0...@gmail.com wrote: Hi all, I have an error which said undefined method culture_id but in the DB, it contains culture_id in user table..

Re: [Rails] undefined method culture_id

2011-06-14 Thread Noel
does user_instance.culture_id return something? try doing the Picture query by putting in the culture_id yourself. maybe you dont have a picture with that culture_id Picture.where(:album_id = :album, :culture_id =3).first On Tue, Jun 14, 2011 at 11:26 AM, joanne ta joanne0...@gmail.com wrote:

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Noel
There's probably going to be lots more pain related to any gems used in that app. All in all seems like about time that app get some serious love and get updated at least to Rails 2.3 Ruby 1.8.7 On Fri, Jun 3, 2011 at 11:49 AM, gnarmis g13si...@gmail.com wrote: After using RVM with ruby

Re: [Rails] Stupid newbie question

2011-06-02 Thread Noel
is not rails 3. You should find what version of rails you are using because something like routing differs. -Noel -- 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-talk@googlegroups.com

Re: [Rails] Rails 3.1.0.rc1 assets not compiling

2011-05-29 Thread Noel
found the problem. There can't be any blank lines in the manifest https://github.com/noel/happy/blob/master/app/assets/javascripts/application.js#L8-10 Is this a bug or should the text in the generated file be more explicit? On Sun, May 29, 2011 at 8:19 AM, noel_g wwydi...@gmail.com wrote

[Rails] Wrong information

2011-01-20 Thread Noel F.
Hi, I have stumbled across an issue using ruby, I want to put 105°C into a text box using ruby however instead of that it is inputting 105 °C. Can anybody explain a way around this problem? Cheers, Noel -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: Wrong information

2011-01-20 Thread Noel F.
Hi Peter, Thanks for the help, so is it a problem in the browser or problem with ruby? I can manually type 105°C and it works fine. Regards, Noel -- 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] div_for and RJS

2009-05-08 Thread Noel Miller
Do you have to use an activeRecord object for div_for? Perhaps I'm taking the wrong approach for dynamic divs so far my education: 1. id= , is fine for just one div and prototype activity in an RJS (I got this to work) 2. class= , another option, but I don't see how it can be used 3. div_for ,

[Rails] Re: div_for and RJS

2009-05-08 Thread Noel Miller
the code is here http://pastie.org/472556 and here http://pastie.org/472563 sorry about the extra bits -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] calling save in after_create hook

2008-09-23 Thread Noel Walters
Scenario: I'm creating an image file upload service for my web site. As well as saving the actual file I also need to create a database record for the file. I would like to name the file after the record id, but I also need to save some attributes of the image (width/height/mime_type etc)

[Rails] Re: calling save in after_create hook

2008-09-23 Thread Noel Walters
OK - my bad. All works OK, can't explain how I made this mistake but it seems it was working all along. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] send_file problem with IE7. Save Image as untitled.bmp

2008-09-16 Thread Noel Walters
Platform = Linux and Mongrel I'm using send_file to send images from a controller. like this: send_file( @content.location, :disposition = 'inline', :type = File.mime_type?(@content.location)) # mime_type? courtesy of mimetype_fu This is called for in an ordinary img tag. It all works

[Rails] Re: send_file problem with IE7. Save Image as untitled.bmp

2008-09-16 Thread Noel Walters
Mark Reginald James wrote: Noel Walters wrote: If you right click on the image in IE7 and choose Save Image As... the file save dialog always defaults the filename to untitled.bmp. Try using send_file's :filename option. -- Rails Wheels - Find Plugins, List Sell Plugins - http

[Rails] Re: send_file problem with IE7. Save Image as untitled.bmp

2008-09-16 Thread Noel Walters
brady8 wrote: Your other solution that should work is to set the header directly that IE is parsing, Content-Disposition. i.e.: headers['Content-Disposition'] = inline; filename=\ + @filename + \ -Brady [EMAIL PROTECTED] On Sep 16, 12:28�pm, Noel Walters [EMAIL PROTECTED] Thanks