search for: faker

Displaying 16 results from an estimated 16 matches for "faker".

Did you mean: fake
2005 Jul 06
2
Samba LDAP timeout
...I'm having trouble configuring an Ubuntu Hoary Samba server to use LDAP for authentication (the server is named "dixie"). I'm basing my configuration on another server here at work that connects just fine. When I try to just list samba shares on dixie with $ smbclient -L dixie -U faker It takes quite some time for the request to go through before failing. Looking at the log file reveals that it can't access the ldap server: [2005/07/06 09:26:35, 0] lib/smbldap.c:smbldap_connect_system(812) ldap_connect_system: Failed to retrieve password from secrets.tdb [2005/07/06 09:26...
2008 Dec 04
1
upload test images using rake with populator
I am wondering if it is possible to upload test images to the database along with the other fake user data. I am using populator along with faker for fake test data and it is working very well. I am able to do things like: User.populate 100 do |user| user.username = Faker::Name.first_name user.email = Faker::Internet.email end but I am wondering if theres a way to do something like: User.populate 100 do |user|...
2011 Feb 07
9
Best way to populate development database
What would be the best way to populate a development database for a Rails 3 app? I have looked at faker, but it seems that development has stopped, any other options? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe...
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys, I have Rails 3 running on Windows 7 with Ruby 1.9.2 Every now and again, my server crashes, and I see the following information in the windows event log: Faulting application name: ruby.exe, version: 1.9.2.180, time stamp: 0x4d5ee5ed Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time stamp: 0x4d5ee5ec Exception code: 0xc0000005 Fault offset: 0x0011a00e Faulting process
2012 Dec 04
0
Empty test suite is run after every rake task
...9;, :require => false gem ''kaminari'' gem ''awesome_nested_set'' group :development do # gem ''rails3-generators'', :git => ''git://github.com/atomgas/rails3-generators.git'' gem ''mongrel'' gem ''faker'' gem ''wirble'' gem ''rcov'', :require => false gem ''letter_opener'' end group :production do # Use unicorn as the web server # gem ''unicorn'' end group :development, :test do gem ''brakeman''...
2009 Jul 20
9
rake error
...port (2.3.2, 2.2.2) authlogic (2.1.1) bcrypt-ruby (2.0.5) builder (2.1.2) calendar_date_select (1.15) capistrano (2.5.8) cgi_multipart_eof_fix (2.5.0) chronic (0.2.3) columnize (0.3.0) cucumber (0.3.11) daemons (1.0.10) devver (2.3.0) diff-lcs (1.1.2) engineyard-eycap (0.4.12) eventmachine (0.12.8) faker (0.3.1) fastercsv (1.5.0) fastthread (1.0.7) flay (1.3.0) flog (2.1.2) gchart (0.5.0) gem_plugin (0.2.3) haml (2.2.0) highline (1.5.1) hoe (2.3.2) hpricot (0.8.1) javan-whenever (0.3.1) jscruggs-metric_fu (1.1.1) linecache (0.43) memcache-client (1.7.4) metaid (1.0) mini_magick (1.2.5) mislav-will_...
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2013 Aug 22
1
How do I deal with ActiveRecord::RecordInvalid: Validation failed:
...::RecordInvalid: Validation failed: Reservation limit reached for this time slot test/models/reservation_test.rb:29:in `block (2 levels) in <class:ReservationTest>'' I was wondering if anyone can give me an ideas of how to deal with this. My test environment is using shoulda, faker, and factory_girl test/models/reservation_test.rb: setup do List.create(name: ''reservation_limit'', values: 20) @reservation = FactoryGirl.build(:reservation) end should "remove unavailable times if reservation limit for time slot is full" do...
2010 Sep 30
5
response.should have_text leads to undefined method `has_text?'
One of my controllers directly renders some JSON output that I would like to test with RSpec. For that I use ''response.should have_text("foobar")'' in my spec file, but that leads to a Failure/Error: response.should have_text("enim") undefined method `has_text?'' for #<ActionController::TestResponse: 0xb6736944> I read here somewhere that webrat
2011 Apr 07
3
[Rails 3] No route matches error using RSpec even though route DOES match
I''ve recently run into a really weird situation that I''m just not sure what''s going on here. I''m trying to write a route that will allow searches to be done via GET requests (generally a good idea since it''s just retrieving information, helps for links and SEO, etc.), and I have the route properly set up and can access it in development mode just fine,
2007 Apr 09
0
OT: But telephony related and funny
...bucXDiJM> A new mobile-phone service provides users with pictures of fictitious lovers, and even fake conversations that let you pretend you're speaking French. "So many people make fake phone calls to impress others, I thought I'd make it easier, with better material," Mobile Faker founder Cindy Lundin Mesaros said. New York Post <http://r.smartbrief.com/resp/gChsiHrfsXpnbACibucXDiJM> (free registration) This was in my inbox from CTIA Smartbrief - lol, I thought it funny enough to post. >From what I can gather ith reads the lines to you to repeat so peo...
2014 Apr 29
0
Bootstrap 3.1.1 is showing as BS 2...
...ap//= require_tree .* my gemfile has: *source 'https://rubygems.org'gem 'rails', '3.2.16'gem 'bootstrap-sass'gem 'sass-rails', '3.2.5'gem 'bootstrap'gem 'bcrypt-ruby', '3.0.1'gem 'faker', '1.0.1'gem 'will_paginate', '3.0.3'gem 'bootstrap-will_paginate'gem 'jquery-rails', '2.0.2'group :development, :test do gem 'sqlite3', '1.3.5' gem 'rspec-rails' gem 'pry-rails' gem 'pry-theme'end# G...
2005 Jul 26
3
Software to monitor security logs and email ISPs?
I know they have software that does this. I'm just not sure which one it is. Basically here's the scoop. I'm on a cable modem connection with Comcast. I have a firewall router and I run a firewall on CentOS as well. All the same, other computers (probably zombies or hackers) are attempting brute force attacks on a couple of ports on my computer. I've just sat and watched them for
2010 Jun 03
2
creating fixtures for has_many :through
I''m stymied at how to create a fixture that establishes a has_many :through relationship. I''ve watched the railscast at: http://media.railscasts.com/videos/081_fixtures_in_rails_2.mov ... but that''s for HABTM relationships. I''ve read: http://www.ruby-forum.com/topic/145676 but that ultimately doesn''t answer any question. So with no further ado:
2010 Nov 20
4
How to get rspec running?
...g actionmailer (3.0.1) Using arel (1.0.1) Using activerecord (3.0.1) Using activeresource (3.0.1) Using annotate-models (1.0.4) Using bundler (1.0.3) Using diff-lcs (1.1.2) Using factory_girl (1.3.2) Using thor (0.14.4) Using railties (3.0.1) Using rails (3.0.1) Using factory_girl_rails (1.0) Using faker (0.3.1) Installing nokogiri (1.4.4) Using rspec-core (2.0.1) Using rspec-expectations (2.0.1) Using rspec-mocks (2.0.1) Using rspec (2.0.1) Using rspec-rails (2.0.1) Using sqlite3-ruby (1.3.2) Using webrat (0.7.1) Using will_paginate (3.0.pre2) Your bundle is complete! Use `bundle show [gemname]` t...
2011 Aug 15
3
- WEBrick server refuses to launch
...* acts_as_list (0.1.2) * addressable (2.2.6) * arel (2.0.10) * aws-s3 (0.6.2) * bcrypt-ruby (2.1.4) * braintree (2.10.2) * builder (2.1.2) * bundler (1.0.17) * cancan (1.6.4) * crack (0.1.8) * deface (0.5.2a 21574e8) * devise (1.3.3) * erubis (2.6.6) * evernote (1.1.0) * faker (0.9.5) * faraday (0.6.1) * fgraph (0.6.1) * heroku (2.4.1) * highline (1.5.1) * httparty (0.7.8) * i18n (0.5.0) * jquery-rails (0.2.6) * koala (1.1.0) * launchy (2.0.5) * mail (2.2.19) * meta_search (1.0.5) * mime-types (1.16) * multi_json (1.0.3) * multi_xml (0.2.2)...