[Rails] Re: Advanced string comparison using active record
That wouldn't catch hellXXo... -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f0c7440726d31adc79bb6153008a68cc%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Re: Advanced string comparison using active record
Hey sorry for misunderstanding it. You will have to use native database specific regex or pure ruby based expressions and select im a bit bad at regular expressions but i should look something like this :) Post.all.select{|x| x.title ~= /[hello]*/ } On Tue, Nov 18, 2014 at 1:45 PM, Tal Sh li...@ruby-forum.com wrote: That wouldn't catch hellXXo... -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f0c7440726d31adc79bb6153008a68cc%40ruby-forum.com . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj_3q8LE9djnx%3DzVyCUUKrUrGavYbvEapq9Py1GZEh14og%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Hiring Ruby on Rails Developer -nerdapplabs-Noida
Hiring Ruby on Rails Developer. Send your profile @ car...@nerdapplabs.com. Education: B.E./ B.Tech in Computer Science, OR MCA from reputed institute above 60% marks throughout 10th Onwards Exp:3-5Yrs Work experience: • Experience designing scalable, fault-tolerant databases. • Experience programming in object-oriented JavaScript. • As a guideline, we expect you have experience working on Java. You must have experience in: • Ruby 1.9 or 1.9+ • Ubuntu/Linux/OSX • Jquery • HTML • REST based Web Services, RSpec/ Cucumber TDD/BDD • GIT/ SVN • Mysql/SQLite • MongoDB,Job location Noida -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bcf7ce91-0022-4537-9a34-91faff2918fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Hiring Ruby on Rails Developer -nerdapplabs-Noida
On 18 November 2014 13:28, hr nerdapplabs nerdappl...@gmail.com wrote: Hiring Ruby on Rails Developer. Send your profile @ car...@nerdapplabs.com. Education: B.E./ B.Tech in Computer Science, OR MCA from reputed institute above 60% marks throughout 10th Onwards Exp:3-5Yrs Work experience: • Experience designing scalable, fault-tolerant databases. • Experience programming in object-oriented JavaScript. • As a guideline, we expect you have experience working on Java. You must have experience in: • Ruby 1.9 or 1.9+ • Ubuntu/Linux/OSX • Jquery • HTML • REST based Web Services, RSpec/ Cucumber TDD/BDD • GIT/ SVN • Mysql/SQLite • MongoDB,Job location Noida It is a pity that nerdapplabs.com have not managed to build their own website such that it meets html standards. http://validator.w3.org/check?uri=http%3A%2F%2Fnerdapplabs.com%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0 Colin -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLshgKf_gB%3DQaifVErw1tBi3ZudmJD2sa%3D1wnUiSv7HS7w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Looking for a Ruby Programmer in Rhode Island
Looking to hire a Ruby Programmer for Rhode Island Email resumes to either ef...@targetrecruiters.com or efish...@gmail.com Ruby Programmer Opening! Base: $70k to $80k Location: Newport, RI. Summary: We are seeking a programmer that will help implement code, build web applications for a satellite infrastructure. Key responsibilities but not limited to: - Software development - Create web app and services for Mobile Cast products - Implement code based on specifications and requirements - Construct web applications, web services and app services - Must work in Agile + Scrum development process environment - Be able to troubleshoot , diagnose and fix defects Qualifications: - BS in Computer Science - Ability to work in Linux operating system - Well versed in Ruby, Rails, Sinatra, GIT, Hiroku/AWS, MYSql, PostgreSQL, UnitTest, JBuilder and Passenger - Demonstrate the ability to debugging Internet Explorer, Firefox, and Chrome - Ability to work in a fast-paced hi tech environment -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4c94e232-f378-4210-8019-1328ffa5b740%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Rake tasks
I am new to ruby and maintaining an existing web application. I need to change the FTP server in a task and trying to familiarize myself with rake tasks. The task is in lib/tasks/archives.rake under the namespace utils. I read over a rake tutorial and viewed rake options to try and show information about the task and possibly run it to test. But when I do 'rake -T', I get a lot of DEPRECATED messages and the list afterward does not have my task listed. This is how the task is defined: namespace:utils do snip task :process_archives = :environment do snip But I have no task listed with that name? I tried 'rake -D utils:process_archives' as well and only got the deprecated messages output. I do see the task in the schedule.rb file... ./config/schedule.rb: command %{#{cmd_root} cd /var/www/vhosts//current bundle exec rake utils:process_archives DIR=/var/www/vhosts//shared/tmp RAILS_ENV=production} And the following file: ./script/process_archives.sh:rake utils:process_archives DIR=/var/www/virtual//htdocs//tmp RAILS_ENV=production The Rakefile looks like this: require File.expand_path('../config/application', __FILE__) ::Application.load_tasks Thanks for any help! -- Robert -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/546B909F.8060606%40webtent.org. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake tasks
Hello, What are the deprecated messages you are getting? Mike Riley On Tue, Nov 18, 2014 at 1:31 PM, Robert Fitzpatrick rob...@webtent.org wrote: I am new to ruby and maintaining an existing web application. I need to change the FTP server in a task and trying to familiarize myself with rake tasks. The task is in lib/tasks/archives.rake under the namespace utils. I read over a rake tutorial and viewed rake options to try and show information about the task and possibly run it to test. But when I do 'rake -T', I get a lot of DEPRECATED messages and the list afterward does not have my task listed. This is how the task is defined: namespace:utils do snip task :process_archives = :environment do snip But I have no task listed with that name? I tried 'rake -D utils:process_archives' as well and only got the deprecated messages output. I do see the task in the schedule.rb file... ./config/schedule.rb: command %{#{cmd_root} cd /var/www/vhosts//current bundle exec rake utils:process_archives DIR=/var/www/vhosts//shared/tmp RAILS_ENV=production} And the following file: ./script/process_archives.sh:rake utils:process_archives DIR=/var/www/virtual//htdocs//tmp RAILS_ENV=production The Rakefile looks like this: require File.expand_path('../config/application', __FILE__) ::Application.load_tasks Thanks for any help! -- Robert -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/rubyonrails-talk/546B909F.8060606%40webtent.org. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAC09tCVp244hccN%2BL6DRowQ%2BT%2ByBJtY9D%3DPLn36djJDdTt6Dcg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake tasks
Robert, 1) The same deprecation warnings probably happen when you just run rails c or rails s, right? If so, those are just general deprecation warnings that are happening when you boot up the app. Today, you can ignore them (hence, warning). In the long run, you'll want to fix those as you upgrade gems and refactor code. 2) Custom rake tasks (defined in your app) should have a description above them. You actually put the description on its own line above the line that starts with the word task (slightly confusing). See the section Describing Your Tasks here http://jasonseifer.com/2010/04/06/rake-tutorial You'll notice that desc comes on its own line before the task line. If you fail to put that description in, your Rake task will still run, but it won't show up in the rake -T output. Finally, you probably almost certainly don't want to be running RAILS_ENV=production if you are developing locally on your own machine. And learn to use a debugger-- I recommend byebug if you're using Ruby 2.0 or above, and put byebug at the top of your rake task. Then just run your rask task and verify that you fall into the debugger. (I'm telling you this as a sanity check methodology because you are trying to verify that you know how to run the task) Hope that helps. -Jason On Nov 18, 2014, at 1:31 PM, Robert Fitzpatrick rob...@webtent.org wrote: I am new to ruby and maintaining an existing web application. I need to change the FTP server in a task and trying to familiarize myself with rake tasks. The task is in lib/tasks/archives.rake under the namespace utils. I read over a rake tutorial and viewed rake options to try and show information about the task and possibly run it to test. But when I do 'rake -T', I get a lot of DEPRECATED messages and the list afterward does not have my task listed. This is how the task is defined: namespace:utils do snip task :process_archives = :environment do snip But I have no task listed with that name? I tried 'rake -D utils:process_archives' as well and only got the deprecated messages output. I do see the task in the schedule.rb file... ./config/schedule.rb: command %{#{cmd_root} cd /var/www/vhosts//current bundle exec rake utils:process_archives DIR=/var/www/vhosts//shared/tmp RAILS_ENV=production} And the following file: ./script/process_archives.sh:rake utils:process_archives DIR=/var/www/virtual//htdocs//tmp RAILS_ENV=production The Rakefile looks like this: require File.expand_path('../config/application', __FILE__) ::Application.load_tasks Thanks for any help! -- Robert -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/546B909F.8060606%40webtent.org. For more options, visit https://groups.google.com/d/optout. Jason Fleetwood-Boldt t...@datatravels.com http://www.jasonfleetwoodboldt.com/writing All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned into blog posts (original poster information will be made anonymous). Email ja...@datatravels.com with questions/concerns about this. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/65B0E024-3594-48E7-B1DA-97F88A62D7D7%40datatravels.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Mail notifications to self Net::SMTPAuthenticationError
I am trying to set up a mailer to send myself notification methods. I am currently trying to get the mailer to send myself a simple message when I go to the URL `localhost:3000/send_mail` I am currently getting this error: Net::SMTPAuthenticationError in HomeController#send_mail 534-5.7.9 Application-specific password required development.rb: config.action_mailer.raise_delivery_errors = true host = 'localhost:3000' config.action_mailer.default_url_options = { host: host } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'smtp.gmail.com', port: 587, domain: 'gmail.com', user_name:'myem...@gmail.com', password: 'mypwd', authentication: 'plain', enable_starttls_auto: true } routes: match '/send_mail', to: home#send_mail, via: get home controller: class HomeController ApplicationController def index end def send_mail ActionMailer::Base.mail(:from = m...@example.com, :to = myem...@gmail.com, :subject = Contact request, :body = test).deliver_now render nothing: true end end -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/904d2d19-b058-4150-ba98-06279ce8c966%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Re: Mail notifications to self Net::SMTPAuthenticationError
Hello, The reason you are getting that error is because more than likely you have set up 2 factor authentication with Google/Gmail. So it is saying you need to include a application specific password. In other words don't use the usual login password, create an application specific password on Google/Gmail and then use that in your smtp settings. Hope this helps. Mike Riley -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/18377bb1-73d8-4c5d-8022-01442b7f3e60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake tasks
Jason Fleetwood-Boldt wrote: Finally, you probably almost certainly don't want to be running RAILS_ENV=production if you are developing locally on your own machine. And learn to use a debugger-- I recommend byebug if you're using Ruby 2.0 or above, and put byebug at the top of your rake task. Then just run your rask task and verify that you fall into the debugger. (I'm telling you this as a sanity check methodology because you are trying to verify that you know how to run the task) Thanks for the info and help. The app is on ruby 1.9.3, I was running rake on the production machine. I downloaded the app and have it running locally, but there are some display issues with development, so I was running production. I see the task is running via cron every hour, it talks to an ftp server and gets a file list, then creates playlist files from the list of MP3 files it finds. I see the task has a lot of puts when 'ARGV = V', should I be able to run the task with the following command? # rake utils:process_archive V' -- Robert -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/546BAD1C.80003%40webtent.org. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Mail notifications to self Net::SMTPAuthenticationError
Take a look at: https://support.google.com/accounts/answer/185833?hl=en -Rob On 2014-Nov-18, at 15:22 , bradford li bradfor...@gmail.com wrote: I am trying to set up a mailer to send myself notification methods. I am currently trying to get the mailer to send myself a simple message when I go to the URL `localhost:3000/send_mail` I am currently getting this error: Net::SMTPAuthenticationError in HomeController#send_mail 534-5.7.9 Application-specific password required development.rb: config.action_mailer.raise_delivery_errors = true host = 'localhost:3000' config.action_mailer.default_url_options = { host: host } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'smtp.gmail.com', port: 587, domain: 'gmail.com', user_name:'myem...@gmail.com', password: 'mypwd', authentication: 'plain', enable_starttls_auto: true } routes: match '/send_mail', to: home#send_mail, via: get home controller: class HomeController ApplicationController def index end def send_mail ActionMailer::Base.mail(:from = m...@example.com, :to = myem...@gmail.com, :subject = Contact request, :body = test).deliver_now render nothing: true end end -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/904d2d19-b058-4150-ba98-06279ce8c966%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3B82D324-8DDF-4589-BD19-34B857AE00A4%40agileconsultingllc.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Re: Mail notifications to self Net::SMTPAuthenticationError
Thank you!! worked like a charm! On Tuesday, November 18, 2014 12:33:25 PM UTC-8, wdperson wrote: Hello, The reason you are getting that error is because more than likely you have set up 2 factor authentication with Google/Gmail. So it is saying you need to include a application specific password. In other words don't use the usual login password, create an application specific password on Google/Gmail and then use that in your smtp settings. Hope this helps. Mike Riley -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3df55c3e-d594-48bc-9eae-b497032b4af5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Mail notifications to self Net::SMTPAuthenticationError
thank you!!! worked perfectly!! On Tuesday, November 18, 2014 12:34:39 PM UTC-8, Rob Biedenharn wrote: Take a look at: https://support.google.com/accounts/answer/185833?hl=en -Rob On 2014-Nov-18, at 15:22 , bradford li bradf...@gmail.com javascript: wrote: I am trying to set up a mailer to send myself notification methods. I am currently trying to get the mailer to send myself a simple message when I go to the URL `localhost:3000/send_mail` I am currently getting this error: Net::SMTPAuthenticationError in HomeController#send_mail 534-5.7.9 Application-specific password required development.rb: config.action_mailer.raise_delivery_errors = true host = 'localhost:3000' config.action_mailer.default_url_options = { host: host } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'smtp.gmail.com', port: 587, domain: 'gmail.com', user_name:'mye...@gmail.com javascript:', password: 'mypwd', authentication: 'plain', enable_starttls_auto: true } routes: match '/send_mail', to: home#send_mail, via: get home controller: class HomeController ApplicationController def index end def send_mail ActionMailer::Base.mail(:from = m...@example.com javascript:, :to = mye...@gmail.com javascript:, :subject = Contact request, :body = test).deliver_now render nothing: true end end -- 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-ta...@googlegroups.com javascript:. To post to this group, send email to rubyonra...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/904d2d19-b058-4150-ba98-06279ce8c966%40googlegroups.com https://groups.google.com/d/msgid/rubyonrails-talk/904d2d19-b058-4150-ba98-06279ce8c966%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8653f314-4504-4902-b443-e73730e0a967%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake tasks
Without seeing the task I can't tell you the answer to that. And the fact that it runs on a cron schedule means that you probably have something like a worker in the background doing that. Normally you run rake some_task X=abc Y=xyz where X and Y are arguments being passed in. But note that you probably want to prefix the rake task in development with bundle exec to get it to run with the right gemset. -Jason On Nov 18, 2014, at 3:33 PM, Robert Fitzpatrick rob...@webtent.org wrote: Jason Fleetwood-Boldt wrote: Finally, you probably almost certainly don't want to be running RAILS_ENV=production if you are developing locally on your own machine. And learn to use a debugger-- I recommend byebug if you're using Ruby 2.0 or above, and put byebug at the top of your rake task. Then just run your rask task and verify that you fall into the debugger. (I'm telling you this as a sanity check methodology because you are trying to verify that you know how to run the task) Thanks for the info and help. The app is on ruby 1.9.3, I was running rake on the production machine. I downloaded the app and have it running locally, but there are some display issues with development, so I was running production. I see the task is running via cron every hour, it talks to an ftp server and gets a file list, then creates playlist files from the list of MP3 files it finds. I see the task has a lot of puts when 'ARGV = V', should I be able to run the task with the following command? # rake utils:process_archive V' Jason Fleetwood-Boldt t...@datatravels.com http://www.jasonfleetwoodboldt.com/writing All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned into blog posts (original poster information will be made anonymous). Email ja...@datatravels.com with questions/concerns about this. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/94468783-F843-4093-9691-9D98ABC415A6%40datatravels.com. For more options, visit https://groups.google.com/d/optout.
[Rails] rails server
I have done *bundle install* and *bundle update *successfully*.* But *rails server *is not working. I have also tried *rails s -p $PORT -b $IP*. *darko@darko-Lenovo-G570 ~/sample_app $ gem install execjs* Successfully installed execjs-2.2.2 Parsing documentation for execjs-2.2.2 Installing ri documentation for execjs-2.2.2 Done installing documentation for execjs after 0 seconds 1 gem installed *darko@darko-Lenovo-G570 ~/sample_app $ rails server* /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:5:in `module:ExecJS' from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:4:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `block in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler.rb:133:in `require' from /home/darko/sample_app/config/application.rb:7:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `block in server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `tap' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands.rb:17:in `top (required)' from /home/darko/sample_app/bin/rails:8:in `require' from /home/darko/sample_app/bin/rails:8:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client.rb:26:in `run' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/bin/spring:48:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `top (required)' from /home/darko/sample_app/bin/spring:16:in `require' from /home/darko/sample_app/bin/spring:16:in `top (required)' from bin/rails:3:in `load' from bin/rails:3:in `main' -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e0e0c196-623d-4cd7-a351-e93a81c937c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] rails server
did you prepend bundle exec to your call to rails server ? On Nov 18, 2014, at 5:07 PM, Darko Vulin darkopm...@gmail.com wrote: I have done bundle install and bundle update successfully. But rails server is not working. I have also tried rails s -p $PORT -b $IP. darko@darko-Lenovo-G570 ~/sample_app $ gem install execjs Successfully installed execjs-2.2.2 Parsing documentation for execjs-2.2.2 Installing ri documentation for execjs-2.2.2 Done installing documentation for execjs after 0 seconds 1 gem installed darko@darko-Lenovo-G570 ~/sample_app $ rails server /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:5:in `module:ExecJS' from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:4:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `block in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler.rb:133:in `require' from /home/darko/sample_app/config/application.rb:7:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `block in server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `tap' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands.rb:17:in `top (required)' from /home/darko/sample_app/bin/rails:8:in `require' from /home/darko/sample_app/bin/rails:8:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client.rb:26:in `run' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/bin/spring:48:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `top (required)' from /home/darko/sample_app/bin/spring:16:in `require' from /home/darko/sample_app/bin/spring:16:in `top (required)' from bin/rails:3:in `load' from bin/rails:3:in `main' -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e0e0c196-623d-4cd7-a351-e93a81c937c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. Jason Fleetwood-Boldt t...@datatravels.com http://www.jasonfleetwoodboldt.com/writing All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned into blog posts (original poster information will be made anonymous). Email ja...@datatravels.com with questions/concerns about this. -- 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+unsubscr...@googlegroups.com. To post to this
[Rails] Re: Advanced string comparison using active record
Thanks, I'll try that. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a18499832c73082bcfde1f613390b0d2%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Hiring Ruby on Rails Developer -nerdapplabs-Noida
@Colin. if you are an Tester without pay Go Ahead and respond in personal email Or a Group coordinator ? Just Inform people about Group Rules. Thanks On Tue, Nov 18, 2014 at 9:03 PM, Colin Law clan...@gmail.com wrote: On 18 November 2014 13:28, hr nerdapplabs nerdappl...@gmail.com wrote: Hiring Ruby on Rails Developer. Send your profile @ car...@nerdapplabs.com. Education: B.E./ B.Tech in Computer Science, OR MCA from reputed institute above 60% marks throughout 10th Onwards Exp:3-5Yrs Work experience: • Experience designing scalable, fault-tolerant databases. • Experience programming in object-oriented JavaScript. • As a guideline, we expect you have experience working on Java. You must have experience in: • Ruby 1.9 or 1.9+ • Ubuntu/Linux/OSX • Jquery • HTML • REST based Web Services, RSpec/ Cucumber TDD/BDD • GIT/ SVN • Mysql/SQLite • MongoDB,Job location Noida It is a pity that nerdapplabs.com have not managed to build their own website such that it meets html standards. http://validator.w3.org/check?uri=http%3A%2F%2Fnerdapplabs.com%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0 Colin -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLshgKf_gB%3DQaifVErw1tBi3ZudmJD2sa%3D1wnUiSv7HS7w%40mail.gmail.com . For more options, visit https://groups.google.com/d/optout. -- Rajeev Kannav Sharma http://www.google.com/search?q=Rajeev+Kannav+Sharmaie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALSzCDBjmTN7PfmoU0scdjhi835-nAu%3DLwLcP_ArUvfpxOZJmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Free tickets to hack.summit() - A Virtual Programming Conference Featuring Top Programmers
Hi everyone, Just wanted to let you know about a special opportunity for subscribers to this group. We're hosting a* virtual conference called hack.summit() taking place December 1-4*, where you can learn from some of the best programmers in the world. An unprecedented line-up of programmers including creators of Ruby on Rails, CSS, Google Glass, the Java language spec, Agile, Extreme Programming, Test Driven Development, Heroku, Spark, Bittorrent, UML, the Wiki, and many more will be speaking and answering audience questions,. ALL proceeds go to support coding non-profits, such as ones that help drive inclusivity and diversity in the coding space. If you’re interested in attending, check out the website and Facebook page for more info. I'm happy to offer you free passes to bypass the registration process--just visit hacksummit.org and register using the code *REGISTERFREE*. *Over 12,000 developers* *registered *in the first few days -- if this continues, then this will be one of the largest developer events *ever *held. You're not going to want to miss it. Hope to see you at the summit, and thanks for your time :) hacksummit.org https://www.facebook.com/hack.summit @hack_summit -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7322e2c2-642d-4066-af64-1ef6ce8e4007%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Rails] [JOBS]
Hello community: I have to positions for those interested. 1) Dallas,TX or Seattle,WA Telecom industry. 4-5 years of strong experience working with RoR J2EE. Pay rate $60-$65 per hr/W2 DOE 1.5 years with possible extension. 2) St. Louis, MO Marketing App development for hospitality industry. 2-3 years of RoR development. Amazon Web Services experience and email marketing development. $70-$90K perm. position. great culture, plenty room to grow professionally, etc. Interested? Let's meet! Skype: javy.tech.req. or email: javi...@nextgen-is.com Thanks! Javier -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e5fec725-d0e3-4150-885f-0233179da03b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Re: List of html_options available
This particular point is not well documented. The best thing to do is to read the source and experiment: https://github.com/rails/rails/blob/52fddcc653458456f98b3683dffd781cf00b35fe/actionview/lib/action_view/helpers/tag_helper.rb I conclude that: - boolean attributes must receive true or false and work as expected - the only keys that treat hashes magically are are `data` and `aria`, others just return `inspect` on the Hash which is not what we want - Array values are space joined - anything else just generates a a=b attribute after string conversions Then as you noticed, helpers may add more keys which are treated specially. Those are well documented on a per-helper basis. On Wednesday, October 6, 2010 4:54:42 PM UTC+2, Ruby-Forum.com User wrote: I've noticed lots of people online complain about not good documentation for Rails. I'm a PHP programmer but I'm a newbie on Rails. I'm creating a form with a drop-down menu. I finally got to do it. I noticed there is a html_options parameter for select. I was curious as to what other html_options are available but couldn't find a list of options. I have been looking for it at the api http://api.rubyonrails.org but can't seem to find it. Maybe I'm not looking in the right places. Can somebody please point me to a place in a documentation where I can find a complete list for the different options for html_options parameter? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0e73f911-6844-4690-9d76-546c168b4f5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Re: rails server
try `sudo apt-get install nodejs` On Wednesday, November 19, 2014 12:07:22 AM UTC+2, Darko Vulin wrote: I have done *bundle install* and *bundle update *successfully*.* But *rails server *is not working. I have also tried *rails s -p $PORT -b $IP*. *darko@darko-Lenovo-G570 ~/sample_app $ gem install execjs* Successfully installed execjs-2.2.2 Parsing documentation for execjs-2.2.2 Installing ri documentation for execjs-2.2.2 Done installing documentation for execjs after 0 seconds 1 gem installed *darko@darko-Lenovo-G570 ~/sample_app $ rails server* /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:5:in `module:ExecJS' from /home/darko/.rvm/gems/ruby-2.1.1/gems/execjs-2.2.2/lib/execjs.rb:4:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/uglifier-2.5.3/lib/uglifier.rb:3:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `block in require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `each' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `require' from /home/darko/.rvm/gems/ruby-2.1.1@global/gems/bundler-1.7.6/lib/bundler.rb:133:in `require' from /home/darko/sample_app/config/application.rb:7:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `require' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:78:in `block in server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `tap' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:75:in `server' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /home/darko/.rvm/gems/ruby-2.1.1/gems/railties-4.2.0.beta2/lib/rails/commands.rb:17:in `top (required)' from /home/darko/sample_app/bin/rails:8:in `require' from /home/darko/sample_app/bin/rails:8:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client.rb:26:in `run' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/bin/spring:48:in `top (required)' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load' from /home/darko/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `top (required)' from /home/darko/sample_app/bin/spring:16:in `require' from /home/darko/sample_app/bin/spring:16:in `top (required)' from bin/rails:3:in `load' from bin/rails:3:in `main' -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/602d8a03-512d-4851-b861-bcc53a2b63e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.