[Rails] How to tell user the mailer SMTPAuthenticationError via another mail if the settings is failed?

2018-10-07 Thread Anand Joel
Can anyone tell how to do this in ruby on rails. How to tell user the mailer SMTPAuthenticationError via another mail if the settings is failed? -- 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] Send HTML markup email with attachment

2017-09-05 Thread joel briggs
So in my app a user can create the body of an email they send to "contacts" they have in the app. The app uses a CKEditor textbox for the user to enter the body of the email. They can also attach a file to the email. Using this code the email gets sent the file is attached properly but all

[Rails] Re: Logical help related to habtm..

2015-05-04 Thread Joel Dezenzio
I hate to go overboard on this question but I think a lot can be learned here. Your question dives into several sub-topics at once (database normalization, model associations, and ERD structures). I would concentrate on the following first: 1. Use a good diagramming ERD software (RISE is a

[Rails] Re: rails and react.js tutorial ?

2015-05-04 Thread Joel Dezenzio
https://hackhands.com/react-rails-tutorial/ -- 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

[Rails] Re: rails 4.2.1 : dynamic table_name

2015-05-04 Thread Joel Dezenzio
Between dynamically changing table names have you tried: Bbbb.reset_column_information .. before setting the new table name? -- 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

[Rails] Re: Ruby 2.2.2 and Rails 4.2.1 railties or spring dependency issues

2015-05-04 Thread Joel Dezenzio
Sounds like you need to run 'gem install rails' again. It will find the missing dependencies, including railties, and reinstall them. -- 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

[Rails] Re: Good tutorials to start with Rails 4

2015-05-03 Thread Joel Dezenzio
I wrote this if you are using Windows: http://rails-windows.github.io/ -- 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

[Rails] Re: Do you use the devise gem to create users in your Rails apps?

2015-05-03 Thread Joel Dezenzio
In a perfect world a solid gem would be extremely popular, well-documented, maintained and updated frequently, and serve a purpose that isn't short lived. It also needs to be flexible. In the case of devise, it has few bugs and fits all of the criteria above. However, in terms of overhead,

[Rails] Re: Newbie question : error when trying to use mysql instead of sqlite

2015-05-03 Thread Joel Dezenzio
1. Make sure you copy libmysql.dll into your ruby\bin directory. 2. From a command prompt, type irb and enter. 3. Type require 'mysql2' and hit enter. = Should return true If it is not true ask the following: Are you using a 32-bit version of Ruby and a 32-bit version of MySQL? Or, a 64-bit?

[Rails] Re: When are associations saved?

2015-05-03 Thread Joel Dezenzio
@blog = Blog.create(name:'My First Blog') @post = @blog.posts.create(name: 'My first post in My First Blog') # post is now created and saved @blog = Blog.find_by_name: 'My First Blog' @post = @blog.posts.create(name: 'My second post in My First Blog') # post is now created and saved @blog =

[Rails] Re: adding semantic ui to rails4

2015-05-03 Thread Joel Dezenzio
I believe that semantic-ui-rails is no longer being maintained. I went straight to github to check and the same source repo states it. Use this one: https://github.com/maxd/less-rails-semantic_ui It seems to be updated recently. I'm also curious if you've checked out the other CSS

[Rails] [URGENT JOB OFFER] Ruby on Rails/Engine Yard

2015-01-03 Thread Joel Brewer
Martha, I would be happy to help you out if you still need assistance. What is your contact info? My email address is: j...@brewerdigital.com My phone number is: 314-753-7260 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] Re: begginer , need help with ruby installation(cmd)

2014-08-14 Thread Joel Witherspoon
I wouldn't recommend CMD on Windows. Use GITBASH instead. It works really well and uses *nix commands like the books. Open one GiTBash instance for running your Rails server and the other for any of your functions. http://installrails.com/ really helped get me going. Don't forget your sanity

[Rails] Re: require 'dl' doesn't work

2014-07-14 Thread Joel Pearson
That's a very short error message. What did the rest of the error say? -- 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

[Rails] Re: Connect automatically on wifi

2013-12-12 Thread Joel Pearson
Since this is in the Rails forum I'll assume you're talking about a website using JavaScript. The short answer is No. JavaScript is sandboxed to avoid giving viruses precisely the kind of control you're asking about. Altering a user's network settings via a website would be a very dangerous

[Rails] Re: Tutorial - Creating a simple ToDo application

2013-12-09 Thread Joel Pearson
The link has an extra on the end. Remove that and it works :) -- 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

[Rails] Re: ruby script if statement

2013-12-05 Thread Joel Pearson
Rather than asking for small pieces of information one at a time on a forum, you would be much better served by completing a few Rails tutorials and creating some Rails projects on your own computer. Then you will understand what's happening on the server. -- Posted via

[Rails] Re: Hello, someone used to an online spree.

2013-11-20 Thread Joel Pearson
I think Spree should work fine as long as you pay attention to the requirements; such as Ruby version and Rails version. -- 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

[Rails] Re: avoiding duplicate string writing

2013-11-14 Thread Joel Pearson
You shouldn't need a Regex for that, how about String#include? -- 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

[Rails] Re: How Rails component works with each other in background?

2013-10-28 Thread Joel Pearson
I suspect that a full answer to that question would necessitate the writing of several books. I don't fully understand what's going on in the background but I'll have a go at explaining my take on it. The Ruby interpreter creates a runtime environment in which to hold the objects. Since Rails

[Rails] Re: How Rails component works with each other in background?

2013-10-28 Thread Joel Pearson
Prasad Gurjar wrote in post #1125841: For e.g How objects are called from controller to view ? what actions are performed in background? The controller is given a template, either implicitly by the method name or explicitly in the code. The template may have multiple extensions, e.g.

[Rails] Re: String interpolation

2013-10-23 Thread Joel Pearson
I'm not sure what the standard is, but I expect you'd handle the conditional when entering the value into the hash. hash = {} hash[:reward] = condition ? Bark five times : Bark four times %{reward} % hash -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Re: What it exactly do these do ( RubyXL::Parser.parse and Roo::Excelx.new) when opening a file?

2013-10-21 Thread Joel Pearson
Usually the simplest way to learn how a gem works internally is to go and read the source code. This should be available in the gem files, on a github repository, or in the documentation. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Re: What it exactly do these do ( RubyXL::Parser.parse and Roo::Excelx.new) when opening a file?

2013-10-21 Thread Joel Pearson
I haven't examined Roo, but you can see RubyXL reading the file into memory here: https://github.com/gilt/rubyXL/blob/master/lib/rubyXL/parser.rb -- 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] Re: What license do you use for your Ruby gems?

2013-10-12 Thread Joel Pearson
I use the MIT license as well. It's common enough that users will recognise it immediately, and covers the basics while being succinct. -- 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

[Rails] Re: string functions

2013-10-09 Thread Joel Pearson
The String class has methods associated with it. You use these the same way as most methods in Ruby: s = 'a string' s.upcase #= A STRING s.reverse #= GNIRTS A -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: Capybara throws printer errors with every test

2013-10-08 Thread Andy Joel
The problem seems to be the name of the action, test, and nothing to do with printers at all. Any action that starts test seems to be affected, though I am still not sure why. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Capybara throws printer errors with every test

2013-10-07 Thread Andy Joel
I am in the process of upgrading from Rails 3 to 4. Whenever I run a test I always get two errors like this: Capybara::Rails::TestCase#test_printer_url: ActionController::UrlGenerationError: No route matches {:action=test, :controller=printers} missing required keys: [:id] If I test all my

[Rails] Re: is there any way to convert .xlsx to .xls

2013-10-04 Thread Joel Pearson
I've never personally used it, but allegedly http://rubygems.org/gems/axlsx should work. -- 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

[Rails] Re: is there any way to convert .xlsx to .xls

2013-10-04 Thread Joel Pearson
Joel Pearson wrote in post #1123519: I've never personally used it, but allegedly http://rubygems.org/gems/axlsx should work. My mistake, that only outputs xlsx. Roo seems to be the obvious choice. -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: is there any way to convert .xlsx to .xls

2013-10-04 Thread Joel Pearson
Yes, that's how editing files usually works. You overwrite a modified copy of the file. -- 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

[Rails] Re: Looking for best tutorial for someone brand- new to this type of programming

2013-09-17 Thread Joel Pearson
If you're coming from VBA you'll probably need to brush up on your Object Oriented Programming as well. http://www.tutorialspoint.com/ruby/ruby_object_oriented.htm -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: Need suggestion how can I skip the rest par inside a loop when erro is raised

2013-09-12 Thread Joel Pearson
Just use error handling properly. begin #standard code rescue #only runs if an error occurred else #only runs if an error did not occur ensure #always runs at the end regardless of error level end -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Re: Need suggestion how can I skip the rest par inside a loop when erro is raised

2013-09-12 Thread Joel Pearson
Maybe a real example would help, rather than infinite-loop pseudo-code. val = -3 until val 2 begin val +=1 1/val rescue puts 'Error on ' + val.to_s else puts 'No Error on ' + val.to_s end puts 'Finished with ' + val.to_s end -- Posted via http://www.ruby-forum.com/.

[Rails] Re: Mandrill mail problem

2013-09-11 Thread Joel Pearson
What are you using as the sender (from) address? -- 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

[Rails] Re: Delete duplicate records from a 2 dimensional array in rails

2013-09-09 Thread Joel Pearson
uniq can take a block as well if you wanted to unique similar arrays on a specific element: @mem.uniq { |mem| mem[1] } Or even on multiple criteria: @mem.uniq { |mem| [ mem[1], mem[2] ] } -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

[Rails] Re: Requesting information from user

2013-09-05 Thread Joel Pearson
I believe the standard way to do this would be to show a previously hidden div containing a form. -- 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] Re: Fetching links to my rails app

2013-09-04 Thread Joel Pearson
Do you mean you want to link to other sites, or you want to download and display pages / partials from other sites inside your app? -- 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

Re: [Rails] Re: Rails deployment issue... no such file or directory - ge

2013-08-21 Thread Joel Muzzerall
I was running in a removed dir too. Life saving thread. On Friday, March 22, 2013 7:04:52 PM UTC-3, Colin Law wrote: On 22 March 2013 21:37, Carlos Gottberg carlos@gmail.comjavascript: wrote: Hey, thanks! I was just about to throw the computer through the window. Was running in a

[Rails] Re: Issue with mering ActiveRecord query results

2013-08-08 Thread Joel Pearson
If you were going to use Hash#merge to remove duplicates between the two result sets, you might as well just use Array#uniq on the Array. -- 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

[Rails] Re: store multiple checkbox values in single column of table

2013-08-05 Thread Joel Pearson
If you want to store multiple on/off switches together, then Binary is your friend. No, Yes, No, No, Yes, Yes, No 0100110 -- 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

[Rails] Re: Laying out the flow of an application - where to start?

2013-07-19 Thread Joel Pearson
I think when you say static html for the pages, you really want dynamically generated content. You need a simple template which presents the requested information with links up and down the chain. The first thing you need to do, particularly if you have data to start off with, is sort out the

[Rails] Re: Learning About Symbols

2013-07-12 Thread Joel Pearson
One reason to use Symbols is that they are immutable. When you're passing one around as an argument or Hash key, it won't change. Another is that multiple instances of a Symbol are the same object, making a smaller memory footprint than Strings. A string is not a symbol. Some structures will

[Rails] Re: Rails Wiki solution on Windows?

2013-07-10 Thread Joel Pearson
Thanks all. MediaWiki is the one I'm planning to use at the moment. Looks like it's time to learn how Apache PHP work :) -- 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

[Rails] Rails Wiki solution on Windows?

2013-07-09 Thread Joel Pearson
I've been asked to put together a simple intranet Wiki, but the only server I have available is a Windows 7 machine with Rails ( on Ruby 2.0 ) installed. I've been looking around for options which will work on this platform - I tried Instiki and Refinery CMS but neither of them appear to be

[Rails] Re: ajax form submission

2013-07-09 Thread Joel Pearson
This should help: http://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html -- 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

[Rails] Re: Rails Wiki solution on Windows?

2013-07-09 Thread Joel Pearson
Useful link, thanks. I was hoping for a Rails option because I haven't yet found another web host which will work on a Windows 7 PC without a fuss. I've tried Wordpress and Joomla, but Microsoft's WebMatrix refuses to work without an actual Internet server, and I only want a local Intranet

[Rails] Re: How can I determine which server is used

2013-07-05 Thread Joel Pearson
I suppose you could check the environment from within the relevant function. -- 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,

[Rails] Re: Color sequence on Rails console in Windows

2013-07-01 Thread Joel Pearson
I've installed conemu, it looks useful. How do you get Rails to output colour characters to the console? -- 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] Re: Color sequence on Rails console in Windows

2013-07-01 Thread Joel Pearson
Aha, found it. I added Pry to the gemfile, replaced IRB with Pry in the config, and created a .pryrc file with a command to turn the colours on. -- 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] Re: “Add 'gem sqlite3'' to your Gemfile”

2013-07-01 Thread Joel Pearson
No problem, we're here to 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 receiving emails from it, send an email to

[Rails] Re: “Add 'gem sqlite3'' to your Gemfile”

2013-06-30 Thread Joel Pearson
There's a quick guide on how to install Sqlite3 on Windows 7 here: http://www.ruby-forum.com/topic/4413168 I followed the instructions on there, and after a few minor tweaks, I managed to get it working. I've tried to attach a zip with the necessary files in. Hopefully if you can download

[Rails] Re: Correct use of before_validation

2013-06-26 Thread Joel Pearson
Thanks for the tip! If the call to super triggers the validation then that should be perfect. -- 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

[Rails] Correct use of before_validation

2013-06-25 Thread Joel Pearson
I'm using Rails 3.2.13 with Ruby 2.0.0 I have a field in a form called hours which normally passes a numerical value. However, my users also want the option to pass time values, like 01:15, 00:25, :05, etc. I've tried to allow for this sort of thing with the below code: __ validates

[Rails] Re: Correct use of before_validation

2013-06-25 Thread Joel Pearson
I've managed to get the event to fire now, but what I get from STDOUT is 0.0 So I guess that means I'm not receiving a string from input. before_validation :convert_hours protected def convert_hours STDOUT hours if hours hours =~ /:/ hrs, mins = hours.scan(

[Rails] Re: Correct use of before_validation

2013-06-25 Thread Joel Pearson
Catching that 0.0 value was the right direction to look in: def convert_hours if hours_before_type_cast hours_before_type_cast =~ /:/ hrs, mins = hours_before_type_cast.scan( /(\d*):(\d*)/ ).first self.hours = BigDecimal( ( hrs.to_f + ( mins.to_f / 60.0 ) ), 4 ) end end

[Rails] Re: uninstall dependencies along with the gem

2013-06-22 Thread Joel Pearson
I can see it being quite dangerous to uninstall all dependancies of a given gem. In theory it could be dependant on gems which have become part of the core library in more recent Ruby versions, for example. However if you mean you want to keep only the latest version of each gem, there's the

[Rails] Re: IRB help

2013-06-21 Thread Joel Pearson
You can also execute system commands from within irb using system system( mkdir lesson2 ) or backticks `mkdir lesson2` Although in the case of mkdir you'll probably want to use Dir.pwd to check you're in the right directory, and Dir.chdir('c:/myfolder') to move to the correct folder first. --

[Rails] Re: Generate a migration from an existing MySQL Database (like Symfony)

2013-02-06 Thread Joel B.
This was a big help. Thanks! One thing though: I couldn't get the newly created migration file to work initially. I kept getting an error that said uninitialized constant CreateDatabase. I had to rename the migration class CreateDataBase. So the first line of the migration file is now:

[Rails] Re: Ideas on a project or gem to develop

2012-04-10 Thread Joel Dezenzio
I work extensively with Remedy and Frontline products and am a core SME for most BMC products. I started working on a HelpDesk web interface a few months ago and am still combing through integration ideas. The only difference my solution might add from others is that it will integrate with

[Rails] Re: Rails Payment Gateway Solutions

2012-04-09 Thread Joel Dezenzio
So I researched PayPal in comparison to Stripe and came up with the following: Stripe: Charges 2.9% + $0.30 cents per transaction with a $15.00 charge back fee if a customer disputes the charge. They have no monthly fee. Can be wrapped into jQuery Mobile and used on mobile phones. Requires

[Rails] Re: Rails Payment Gateway Solutions

2012-04-08 Thread Joel Dezenzio
Okay, I can now provide feedback on Stripe. First, there is an easy to follow Railscasts tutorial by Ryan Bates which covers how to implement Stripe. However, this tutorial is meant for recurring based subscriptions and does not cover regular charge objects (single payments). So, you have to

[Rails] Re: Re: Rails Payment Gateway Solutions

2012-04-06 Thread Joel Dezenzio
Greg Akins wrote in post #1055148: On Thu, Apr 5, 2012 at 10:36 AM, Joel Dezenzio li...@ruby-forum.com wrote: If anyone has used Paypal's advanced solution and integrated with Rails, I'll be interested to see your experience. I haven't used either, but I've heard bad things about Paypal

[Rails] Rails Payment Gateway Solutions

2012-04-05 Thread Joel Dezenzio
Hi All, I'm in the process of once again researching Rails payment gateways for a couple of my production sites. I wanted to gather opinions and thoughts on what you all are using, and why you may or may not like it. My current payment gateway includes Paypal and Zong. Zong is a mobile credits

[Rails] Re: Rails Payment Gateway Solutions

2012-04-05 Thread Joel Dezenzio
It looks like Paypal has created a few more solutions which I'm now looking into. One of the problems I have is I don't want to use SSL on my site and process payments on my site. This left me using Paypal Standard. In order to use Pro you need to use SSL. It looks like they've established

[Rails] Models in sub-folders in Rails 3

2012-03-26 Thread Andy Joel
I have a Rails 2 project in which models are in sub-folders, but not in a name space app/models/sub_folder/posts.rb class Post ActiveRecord::Base end The controllers are also in sub-folders, but are name spaced (views also in a corresponding sub_folder).

[Rails] Do I need WEBrick?

2012-02-29 Thread Joel
' joelrwesley$ Thanks, Joel -- 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 to rubyonrails-talk+unsubscr...@googlegroups.com. For more

[Rails] Re: can't get rails gem

2012-02-26 Thread Joel
gve command line tools, package, I don't know what that is. On Feb 26, 1:06 am, Frederick Cheung frederick.che...@gmail.com wrote: On Feb 26, 5:21 am, Joel joel.wes...@gmail.com wrote: Hi, I'm brand new to rails, and I have a mac 10.7 that I bought today.  I try the following

[Rails] Re: can't get rails gem

2012-02-26 Thread Joel
work. Argh! Thanks for any sympathy and advice, Joel -- 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 to rubyonrails-talk

[Rails] Re: can't get rails gem

2012-02-26 Thread Joel
If anyone has been following this and has the same problem, the following tutorial was fantastic, and it fixed my problem: http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.9.1-intel-universal-snow-leopard.dmgcan=3q= -- You received this message because you are subscribed

[Rails] Re: can't get rails gem

2012-02-26 Thread Joel
whoops, wrong site: try this: http://pragmaticstudio.com/rails On Feb 26, 1:26 pm, Joel joel.wes...@gmail.com wrote: Thank you for the advice, Valery.  I tried that, and (I believe) followed the instructions at the rvm page.  I say I *believe*, because these instructions always seem to lead

[Rails] can't get rails gem

2012-02-25 Thread Joel
to /Library/Ruby/Gems/1.8/gems/json-1.6.5/ext/json/ext/ parser/gem_make.out joelrwesley$ Anybody have any ideas? Thanks, Joel -- 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

Re: [Rails] Job Opportunities

2012-02-07 Thread Joel Turnbull
is telecommute an option? On Mon, Feb 6, 2012 at 3:00 PM, emilyncar...@hotmail.com emilyncar...@hotmail.com wrote: Anyone interested in a 6 month+ Ruby on Rails development opportunity in Dallas Texas? -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: Can't get WEBrick to work

2012-02-05 Thread Joel
that same name.  You need to get inside that directory before typing rails sever. On Feb 4, 7:41 pm, Joel joel.wes...@gmail.com wrote: Hello, I'm having trouble getting my server to work. I type rails server at the command line and get a whole lot of gobble-dee-gook.  I do

[Rails] Can't get WEBrick to work

2012-02-04 Thread Joel
10.5.8, and I downloaded the latest version of Rails, which seemed to go smoothly. Please don't overwhelm me with technical speak. I'm brand new to rails, brand new to command line coding, brand new to web development. Thanks! Joel -- You received this message because you are subscribed

[Rails] New here. Trying to integrate databases. Netbeans??

2011-03-28 Thread Joel
anyone help me connect to my MySQL db? Much thanks! Joel -- 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 to rubyonrails-talk

[Rails] Re: send_file works on Rails2,SSL - except for IE7/6

2011-01-14 Thread jufemaiz: joel courtney
We've had the issue before with WAS running a java app. I believe it's an issue with cache. http://support.microsoft.com/kb/323308 On Jan 14, 9:28 am, C. Dagnon li...@ruby-forum.com wrote: Quirky stuff here, The current setup works fine for Firefox 3.6 and IE 8 but balks on earlier IEs.  The

[Rails] rake gems:install error

2010-10-20 Thread Joel Klabo
I am running rails 2.3.5, here is the trace: http://gist.github.com/636843 I am a rails noob, and I just started working on this codebase. just trying to get the dev server running. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] spelling error on rubyonrails.org

2010-08-20 Thread Joel Cox
On rubyonrails.org/applications, Urban Dictionary is described this way: Define your slag. Yes, slag. Sorry if there's some other contact method I should have used for this, but I couldn't find it. -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] Re: Trying to pick a model setup without ridiculous routes

2010-07-27 Thread jufemaiz: joel courtney
://www.buildingwebapps.com/podcasts/79342-resources-page-links-ca... On Jul 23, 7:42 pm, Joel Klabo joelkl...@gmail.com wrote: I am making a site with beer info. I want to have the beer name, brewery and style info for every beer. So they all need to be connected. But, I don't want two styles, i.e. Pale Ale

[Rails] Re: Trying to pick a model setup without ridiculous routes

2010-07-27 Thread jufemaiz: joel courtney
://www.buildingwebapps.com/podcasts/79342-resources-page-links-ca... On Jul 23, 7:42 pm, Joel Klabo joelkl...@gmail.com wrote: I am making a site with beer info. I want to have the beer name, brewery and style info for every beer. So they all need to be connected. But, I don't want two styles, i.e. Pale Ale

[Rails] Re: Trying to pick a model setup without ridiculous routes

2010-07-27 Thread jufemaiz: joel courtney
://www.buildingwebapps.com/podcasts/79342-resources-page-links-ca... On Jul 23, 7:42 pm, Joel Klabo joelkl...@gmail.com wrote: I am making a site with beer info. I want to have the beer name, brewery and style info for every beer. So they all need to be connected. But, I don't want two styles, i.e. Pale Ale

[Rails] Trying to pick a model setup without ridiculous routes

2010-07-24 Thread Joel Klabo
know this is an involved question but I just can't wrap my mind around it. I would appreciate any advice. Thanks for reading. SHORT VERSION: I want 3 models connected, but I don't want the nested URL craziness. How? Joel -- You received this message because you are subscribed to the Google Groups

[Rails] Re: Trying to pick a model setup without ridiculous routes

2010-07-24 Thread Joel Klabo
a tutorial that should point you in the right direction:http://www.buildingwebapps.com/podcasts/79342-resources-page-links-ca... On Jul 23, 7:42 pm, Joel Klabo joelkl...@gmail.com wrote: I am making a site with beer info. I want to have the beer name, brewery and style info for every beer. So

[Rails] Re: setup not invoked during unit testing

2010-07-21 Thread Andy Joel
Frederick Cheung wrote: On Jul 20, 3:57�pm, Andy Joel li...@ruby-forum.com wrote: test_setup does get invoked, so the file is being processed. I am guessing that somewhere there is another setup method that takes priority, but where would it be, and why does it take priority over this one

[Rails] setup not invoked during unit testing

2010-07-20 Thread Andy Joel
I have a bunch of unit test files in a Rails project. One of them has stopped using the setup method before each test, or even if I invoke it in the test itself. After commenting out most of it, here is what is left: require 'test/test_helper' class GlcTest ActiveSupport::TestCase def setup

[Rails] Re: Rails fails to find models in subfolders

2010-05-07 Thread Andy Joel
Thanks for the reply On Thu, May 6, 2010 at 6:58 AM, Andy Joel li...@ruby-forum.com wrote: I have my models and controllers set up in sub-folders, so, for example, sample.rb is in app/models/sample_log, and samples_controller.rb is in app/controllers/sample_log. The controllers are defined

[Rails] Re: Rails fails to find models in subfolders

2010-05-07 Thread Andy Joel
, Rails seems to load the file, use it, and forget it. When another file tries to reference that class, Rails ignores load_paths, and looks in the wrong place. Anyway, a way around it is to require the files in a file in config/initializers, so at least I am up and running now. Andy Joel wrote

[Rails] Re: Re: Rails fails to find models in subfolders

2010-05-07 Thread Andy Joel
Rick Denatale wrote: Basic Ruby lesson. You have class SampleLog::SamplesController def home @samples = Sample.find :all end end When Ruby needs to figure out what Sample means in that home action, it first looks for a constant in the current namespace so it

[Rails] Rails fails to find models in subfolders

2010-05-06 Thread Andy Joel
I have my models and controllers set up in sub-folders, so, for example, sample.rb is in app/models/sample_log, and samples_controller.rb is in app/controllers/sample_log. The controllers are defined to be within a namespace just though the class name, eg like this: class

[Rails] nested one-to-one forms question

2010-04-10 Thread Joel Day
Hello, I must admit I'm new to rails (I actually come from the .net world, but I've been meaning to expand for some time now) I'm trying to create a user registration page (just getting my feet wet really) and I've hit a wall. I'm pretty sure I'm doing this wrong, so I need some straightening

[Rails] Re: nested one-to-one forms question

2010-04-09 Thread Joel Day
whoa, I guess I better explain what I'm trying to do. What I want to do is be able to create a User and a Password object with the same form. I'm going to add the question part later (once this is done) I figure that since User has a single instance of a Password, I could gain access to it

RE: [Rails] Stop using Foo Bar!

2010-03-31 Thread Joel Dezenzio
You can always use Voo, Doo, and Vlad. Metasyntactic variables are not meant to be creative or original though. They are simply meant to represent unknown variables. The common ones are Foo, Bar, and Baz. -- You received this message because you are subscribed to the Google Groups Ruby on

RE: [Rails] Re: Rounding problem

2010-03-30 Thread Joel Dezenzio
class Float def round_to(x) (self * 10**x).round.to_f / 10**x end end then you can use round_to(2) Sincerely, Joel Dezenzio Website Bio: http://jdezenzio.com/ Rails Production Sites: http://ncaastatpages.com -- You received this message because you are subscribed to the Google

RE: [Rails] Re: RoR hosting help?

2010-01-29 Thread Joel Dezenzio
Check for a hosting site that accepts mobile payments through Boku or Paymo. If you have a cell phone, the charges are added to the text rates and you just make payments normally through your cell phone provider. Sincerely, Joel Dezenzio Website Bio: http://jdezenzio.com/ Rails Production

RE: [Rails] Re: noob question: create a link to google a parameter

2010-01-28 Thread Joel Dezenzio
through them and then the following month I swap them out for new books. If one is really good for reference, I add it to my Kindle. Books = food Sincerely, Joel Dezenzio Website Bio: http://jdezenzio.com/ Rails Production Sites: http://ncaastatpages.com -- You received this message because

RE: [Rails] state_machine prevents ActiveRecord from being persisted

2010-01-27 Thread Joel Dezenzio
but you aren't supplying any actual methods so that we can review what you are doing. I use an IPN system for one of my sites and do the above. I'd love to help you out but without seeing code and how things are actually working with your controllers/models, I can't. Sincerely, Joel Dezenzio

RE: [Rails] Exchange Server

2010-01-27 Thread Joel Dezenzio
Telnet. http://ruby-doc.org/stdlib/libdoc/net/telnet/rdoc/index.html Sincerely, Joel Dezenzio Website Bio: http://jdezenzio.com/ Rails Production Sites: http://ncaastatpages.com -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

RE: [Rails] Re: Newbie question: Integrating Authlogic plug-in more deep

2010-01-26 Thread Joel Dezenzio
You are welcome. The next thing you should do is write some tests for this. -- 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...@googlegroups.com. To unsubscribe from this group, send

[Rails] Re: Rails Code Indentation

2009-11-01 Thread Joel Chippindale
I've written a Textmate plugin that indents Ruby code (rather better than Textmate does on it's own but not as well as Netbeans which, as mentioned earlier in the thread does a great job). It's all written in Ruby so would be easy enough to extract into a gem (it's on my to do list). You can

  1   2   >