Re: [Rails] CentOS 6.5 Mysql 5.5 RoR deploying issue

2014-12-22 Thread Greg Akins
On Mon, Dec 22, 2014 at 6:26 AM, Diego Dillenburg Bueno diegodillenb...@gmail.com wrote: Hey all, have any of you ever had some trouble trying to deploy to a CentOS 6.5 with Mysql 5.5? I'm getting some errors on the database creation and it seems that I miss the mysql-devel package to build

Re: [Rails] locals with partial

2014-11-23 Thread Greg Akins
On Sun, Nov 23, 2014 at 8:37 AM, Pierre Caserta li...@ruby-forum.com wrote: My partial code: view/clubs_registration/clubs/_dropzone_pictures.html.erb %= hidden_field_tag :club_id, name: :club_id, value: club_id % snip... What I really want to do is retrieve the value of club_id from my

Re: [Rails] Junior and his project

2014-11-08 Thread Greg Akins
Or maybe you're thinking too hard about what the project should be. Make anything (a blog, a to-do list..) It doesn't matter that it's been done before. Or just fork someone else's project and use that as a starting point. Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724

Re: [Rails] WARN: Unresolved specs during Gem::Specification.reset:

2014-07-01 Thread Greg Akins
of the approaches? Does the hint to look at RVM have anything to do with your situation? Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah -- You received this message because you are subscribed to the Google

Re: [Rails] Re: How can I do disable email delivery in development mode?

2014-06-23 Thread Greg Akins
On Monday, June 23, 2014 10:41:54 AM UTC+1, Ruby-Forum.com User wrote: Is it any way to do disable email delivery in development mode? I use https://github.com/pboling/sanitize_email to force all emails to be sent to one pre-defined email address. -- You received this message because you are

Re: [Rails] Re: JOB POST: why is it so hard to find a Ruby Rails developer for a job in Downtown NYC?

2014-03-18 Thread Greg Akins
On Tue, Mar 18, 2014 at 12:09 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Tue, Mar 18, 2014 at 6:12 AM, mike2r mr...@kalanitech.com wrote: I can't speak for everyone, but I don't look at Craigslist and I'm not sure many developers do. +1 on that -- it would never have

[Rails] Logging / Email error notification

2014-01-21 Thread Greg Akins
to grab the tail end of the development.log file and insert it into the email? But I'm wondering if maybe there is a better approach or if anyone has a gem that does this automatically. Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com

[Rails] Logging message body from ActionMailer class

2013-10-02 Thread Greg Akins
, :user_name= t...@gmail.com, :password = password1 } config.action_mailer.default_url_options = { :host = 'localhost:3000' } Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah -- You

Re: [Rails] Re: IRB can't require nokogiri

2013-05-29 Thread Greg Akins
Just a hunch.. can you require any of the gems with mingw32 dependencies? Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah On Wed, May 29, 2013 at 7:14 AM, Love U Ruby li...@ruby-forum.com wrote: Peter

Re: [Rails] Re: Re: IRB can't require nokogiri

2013-05-29 Thread Greg Akins
. Greg Akins Insomnia Consulting, LLC gak...@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah On Wed, May 29, 2013 at 7:38 AM, Love U Ruby li...@ruby-forum.com wrote: Greg Akins wrote in post #1110493: Just a hunch.. can you require any of the gems

Re: [Rails] How to create 10000 pseudo data for Testing in RoR

2013-04-05 Thread Greg Akins
-to-generate-test-data-for-your-ruby-automated-tests/ On Fri, Apr 5, 2013 at 11:08 AM, haxuan lac li...@ruby-forum.com wrote: I want to test performance of project. So i want make 1 record of table for testing. I don't know how to ganerate record. Who can help me? Thanks. Greg Akins http

Re: [Rails] Re: How to create 10000 pseudo data for Testing in RoR

2013-04-05 Thread Greg Akins
is distribution of data. If you need the names to be distributed across an alphanumeric range (to mimic real world data) then you might want to modify the mechanism for creating the User. Greg Akins http://twitter.com/akinsgre On Fri, Apr 5, 2013 at 12:08 PM, haxuan lac li...@ruby-forum.com

Re: [Rails] Start to using Bootstrap with RoR

2013-04-04 Thread Greg Akins
http://railsapps.github.com/twitter-bootstrap-rails.html Greg Akins http://twitter.com/akinsgre On Thu, Apr 4, 2013 at 8:11 AM, Mehmet Vefa mehmetv...@gmail.com wrote: Hey there, I am beginner of RoR. I want to use bootstrap at my project. Which point should I start? -- You received

Re: [Rails] One of my routes is not working

2013-03-04 Thread Greg Akins
Is that route in 'rake routes'? Greg Akins http://twitter.com/akinsgre On Mon, Mar 4, 2013 at 11:32 AM, mike mikeg...@gmail.com wrote: I have a User model which has_many :portfolios and each Portfolio has_many :pictures. My routes look like this: resources :users do resources

Re: [Rails] easy question on GIT

2013-02-07 Thread Greg Akins
Look at git rebase interactive On Feb 7, 2013, at 7:07 PM, Cluter Vipic li...@ruby-forum.com wrote: Hi Folks, I have a question unfortunately on the net didn't find a simple answer to my simple question MY QUESTION if I have a commit for example commit

Re: [Rails] project proposal.

2013-02-05 Thread Greg Akins
On Tue, Feb 5, 2013 at 10:59 AM, Mauro mrsan...@gmail.com wrote: grails Are you at the wrong group, or is that a typo? -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from

Re: [Rails] Using PostgreSQL with RoR on windows. Help!

2012-09-21 Thread Greg Akins
? What is it you're missing? Postgres, from a RoR perspective, isn't any different than sqlite or mysql. You use migrations and ActiveRecord in the same way. Perhaps you can be more specific about what you're trying to do, and where you are having troubles. -- Greg Akins http://twitter.com

Re: [Rails] Re: Using PostgreSQL with RoR on windows. Help!

2012-09-21 Thread Greg Akins
. If the database is started and the database.yml is configured correctly, you should be able to run db:create and db:migrate -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

Re: [Rails] Re: Re: Using PostgreSQL with RoR on windows. Help!

2012-09-21 Thread Greg Akins
the commandline tool for executing database commands (SQL) and 3) creating a user that will be specified in the database.yml If you can't get this far, you need to start with a Postgres for Windows tutorial. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you

Re: [Rails] Re: Re: Re: Using PostgreSQL with RoR on windows. Help!

2012-09-21 Thread Greg Akins
as a Service that is started through Windows Service Manager much like other Windows processes that are meant to run in the background. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

Re: [Rails] Growl_notify like similar gems for Linux

2012-08-15 Thread Greg Akins
know what the difference is between iNotify and libnotify, but I use iNotify and it worked fine. Wrote up some steps so I could remember on my blog if you're interested http://insomnia-consulting.org/2011/11/02/setting-up-rspec-and-rails -- Greg Akins http://twitter.com/akinsgre -- You

Re: [Rails] Re: AS/400?

2012-08-01 Thread Greg Akins
/projects/rubyibm Another alternative, if I'm allowed to mention it here, is JRuby.. then you'd just need DB2 JDBC drivers. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

Re: [Rails] Re: I can't install ruby on rails on my mac - Sorry I know it's been posted 1 million times before

2012-06-15 Thread Greg Akins
/ http://www.unfoldingcode.com/2011/05/using-rvm-to-install-rails-31-on-ubuntu.html -- Greg Akins http://twitter.com/akinsgre -- 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] Dumb question

2012-05-27 Thread Greg Akins
-- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Opportunity for Ruby On Rails Developer

2012-05-12 Thread Greg Akins
is easy. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] undefined method `key?' for nil:NilClass,bcrypt-ruby,has_secure_password

2012-05-12 Thread Greg Akins
trace from the 'undefined Method' error -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Is it suitable using STI?

2012-05-10 Thread Greg Akins
so you dont have a lot of redundant fields trying model things with additional attributes that aren't shared. I think this post might help you http://stackoverflow.com/questions/1634668/multiple-table-inheritance-vs-single-table-inheritance-in-ruby-on-rails -- Greg Akins http://twitter.com

Re: [Rails] Re: out of memory (java heap space) on zip creation (jruby)

2012-05-09 Thread Greg Akins
if you do something like -xmx1024m (Not sure that syntax is exactly correct, but it's close) you might get enough. Of course that depends on the size of the file -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby

Re: [Rails] Re: out of memory (java heap space) on zip creation (jruby)

2012-05-09 Thread Greg Akins
the case, maybe they have some mechanism for handling larger files? -- Greg Akins http://twitter.com/akinsgre -- 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] Stuff added to my web page

2012-04-27 Thread Greg Akins
On Fri, Apr 27, 2012 at 4:52 PM, Jeff Kyzer kyzer...@gmail.com wrote: Very simple, but when I bring up the view source file of the localhost: 3000/pages/home I get the following.  Where is all that extra stuff come from on top and how do I get rid of it? -- Greg Akins http://twitter.com

Re: [Rails] Re: RoR to Visual Studio

2012-04-20 Thread Greg Akins
results were circa 2008-2009 This Wiki post last mentions an incomplete Rails implementation in 2008 and nothing else http://en.wikipedia.org/wiki/IronRuby Good luck Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups Ruby

Re: [Rails] Re: Access denied for user 'root'@'localhost' (using password: NO)

2012-04-18 Thread Greg Akins
-talk?hl=en. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Re: Rails Payment Gateway Solutions

2012-04-05 Thread Greg Akins
from a customer service and easy of use perspective; they have a PCI compliant interface) -- Greg Akins http://twitter.com/akinsgre -- 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] Re: how long does it take?

2012-03-19 Thread Greg Akins
to pick those pieces that make this easy? Not saying the job screening technique isn't rubbish, just speculating on the fact that RoR and JQuery plugins have made some of this standard web dev really easy. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you

Re: [Rails] Do I need WEBrick?

2012-02-29 Thread Greg Akins
  rails server  .  Instead I get Did you start with 'bundle install'? If then also read this post http://stackoverflow.com/questions/4546698/library-not-loaded-libmysqlclient-16-dylib-error-when-trying-to-run-rails-serv -- Greg Akins http://twitter.com/akinsgre -- You received this message

Re: [Rails] Rails hosting

2012-02-19 Thread Greg Akins
On Sun, Feb 19, 2012 at 8:29 PM, lionel Lioninho lionel.firstdevelo...@gmail.com wrote: I'm starting a new 3.2 project and i need to know the best hosting offers Heroku -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Problems with annotate gem

2012-02-16 Thread Greg Akins
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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Greg Akins http://twitter.com/akinsgre

Re: [Rails] Problems with annotate gem

2012-02-16 Thread Greg Akins
On Thu, Feb 16, 2012 at 5:25 AM, Colin Law clan...@googlemail.com wrote: On 16 February 2012 12:45, Cassiano Leal cassianol...@gmail.com wrote: Sure, here you go: https://gist.github.com/1844590 Will you also include the TestExecution model? -- Greg Akins http://twitter.com/akinsgre -- You

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Greg Akins
' into that new directory? -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Re: Clean Up the code

2012-02-03 Thread Greg Akins
them?! Yes Hahaha! At least you're honest :-) I went back and looked at some other posts by Srimanta. It looks like most of his questions are either homework, or interview questions. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed

Re: [Rails] Re: Clean Up the code

2012-02-03 Thread Greg Akins
On Fri, Feb 3, 2012 at 5:12 AM, Scott Eisenberg sco...@btrtrucks.com wrote: I don't l know why you waste your time -or the group's time - on this guy. Trying not to say this loser.  Oops, just did. Scott. Are you calling me a loser for posting the comments about Srimanta? -- Greg Akins

Re: [Rails] Re: Clean Up the code

2012-02-03 Thread Greg Akins
. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Deployment problem after update to rails 3.2.1

2012-02-02 Thread Greg Akins
*** [err :: server] (See full trace by running task with --trace) Can you check your database.yml? /tmp/mysql.sock looks like a OSX location.. Wondering if you copied your dev properties to production? -- Greg Akins http://twitter.com/akinsgre -- You received this message because you

Re: [Rails] Re: Deployment problem after update to rails 3.2.1

2012-02-02 Thread Greg Akins
to be copied manually from an older version on the server, or from your own machine. Your situation may differ, but I use capistrano to deploy from the SCM, so if it's not there, it's not going to make it to your server. -- Greg Akins http://twitter.com/akinsgre -- You received this message

Re: [Rails] Re: Deployment problem after update to rails 3.2.1

2012-02-02 Thread Greg Akins
assets:precompile It does not mention the symlink commands. It directly executes the Bundle command. I cannot remember it normally does. On 2 feb, 19:24, Greg Akins angryg...@gmail.com wrote: On Thu, Feb 2, 2012 at 1:20 PM, javinto jan.javi...@gmail.com wrote: *** [err :: ] rake aborted! *** [err

Re: [Rails] Why Heroku so slow?

2012-01-31 Thread Greg Akins
be sure, but.. AFAIK Does this only happen the first time the page is loaded? Heroku unloads applications. Both when it's deployed, and after periods of inactivity. The first load after it's been unloaded is always slow. -- Greg Akins http://twitter.com/akinsgre -- You received this message

Re: [Rails] Polymorphic association

2012-01-27 Thread Greg Akins
@user.my_posts (and that would return Post objects) also @post = Post.new @post.owner (this would return a User object) How can I do that? It looks like you're describing a standard has_many relationship. Are you implying that Post will be extended to be different classes? -- Greg Akins

Re: [Rails] Polymorphic association

2012-01-27 Thread Greg Akins
On Fri, Jan 27, 2012 at 11:52 AM, Greg Akins angryg...@gmail.com wrote: On Fri, Jan 27, 2012 at 11:44 AM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote: Hi, I want to do a polymorphic association like that: Try this railscast http://railscasts.com/episodes/154-polymorphic-association -- Greg

Re: [Rails] Polymorphic association

2012-01-27 Thread Greg Akins
On Fri, Jan 27, 2012 at 12:05 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote: I did, and it goes like: @commentable.comments but I want something like: @commentable.my_comments and not change the Comment model name def my_comments return comments end -- Greg Akins http

Re: [Rails] Average hour rate for a Junior Rails developer.

2012-01-25 Thread Greg Akins
On Wed, Jan 25, 2012 at 9:40 AM, Agis A. corestudios...@gmail.com wrote: Hi guys. Basically, where is considered the best country to work in as a Rails developer? Where are the most rewarding job opportunities? Funny.. the same discussion is going on in #rubyonrails now -- Greg Akins http

Re: [Rails] Re: How to send a ASCII escape sequence to a Dot Matrix Printer

2012-01-09 Thread Greg Akins
you format your output as a PDF and just print that? -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Re: How to send a ASCII escape sequence to a Dot Matrix Printer

2012-01-09 Thread Greg Akins
. Good knowledge for the future. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Heroku and MySQL

2012-01-06 Thread Greg Akins
for MySQL -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Heroku and MySQL

2012-01-06 Thread Greg Akins
-- have you? Hey! Don't try to confuse me with logic and facts :-) You're right and I was confused. The Sqlite conversion is during a heroku db:pull Not during a mgiration. Sorry.. still haven't had my 10th cup of coffee. -- Greg Akins http://twitter.com/akinsgre -- You received

Re: [Rails] Unable to install rails

2011-12-31 Thread Greg Akins
instructions on a couple machines and never had any problems installing RoR on a Mac. -- Greg Akins http://twitter.com/akinsgre -- 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] call partial by jquery

2011-12-23 Thread Greg Akins
/rubyonrails-talk?hl=en. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] How to split a array

2011-12-23 Thread Greg Akins
= [This, is, a, test] irb(main):006:0 -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Re: How to fire Ajax call from Form_for

2011-12-21 Thread Greg Akins
examples, but you need to have javascript react to onclick. I think if you use the form_for submit tag, you'll need to submit the form to get the results you want. However, I believe you only want to query for characters during typing and do something different when you submit the form. -- Greg

Re: [Rails] Lost upgrading from 2.3.8 to 3.1.1

2011-12-20 Thread Greg Akins
On Tue, Dec 20, 2011 at 12:49 PM, Ralph Shnelvar li...@ruby-forum.com wrote: can't convert Array into String This is a huge guess. But didn't ActiveSupport change some of the methods for finding records; so you could be getting an Arrayk where you usecd to expect a single String? -- Greg

Re: Re[2]: [Rails] Lost upgrading from 2.3.8 to 3.1.1

2011-12-20 Thread Greg Akins
options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Greg Akins http://twitter.com/akinsgre -- 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] Custom Devise Controller

2011-12-20 Thread Greg Akins
?hl=en. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Heroku upload

2011-12-19 Thread Greg Akins
rake, db changes, logs, etc.. wouldn't work right. -- Greg Akins http://twitter.com/akinsgre -- 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

Re: [Rails] Re: finding out where to modify virtual host settings in rails, passenger, apache setup

2011-12-10 Thread Greg Akins
Rails app, but there still is a DocumentRoot defined. I think I'd start with this file.. but as Hassan said, you can probably look in /etc/init.d to see if it's being started from there, and use 'ps' otherwise. -- Greg Akins http://twitter.com/akinsgre -- You received this message because you

Re: [Rails] Re: Rails and MySQL woes

2011-12-09 Thread Greg Akins
. -- Greg Akins http://twitter.com/akinsgre -- 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