search for: rails_project

Displaying 20 results from an estimated 26 matches for "rails_project".

Did you mean: rails_projects
2011 Apr 12
4
OS X - `require': no such file to load -- sqlite3/sqlite3_native
...39;ve searched and search, tried a number of things like unstalling sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from source, etc. Nothing seems to work. When I try to start up my server I get the following: MacBook-Pro:splash Ross$ rails server /Volumes/Macintosh HD/Users/Ross/rails_projects/splash/json/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3.rb:6:in `require'': no such file to load -- sqlite3/sqlite3_native (LoadError) from /Volumes/Macintosh HD/Users/Ross/rails_projects/splash/json/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3.rb:6:in `rescue in <top (required)>'...
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
...39;m a RoR-Beginner and I started learning it with the RoR-Tutorial. Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/ static-pages#top) and try to install rspec. But everytime when I try to use "rails g rspec:install" I get this error message: C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install C:/Sites/rails/rails_projects/sample_appp/config/application.rb:8:in `require'': no such file to load -- sprockets/railtie (LoadError) from C:/Sites/rails/rails_projects/sample_appp/config/ application.rb:8:i n `<top (required)>''...
2007 Jul 14
8
Specing Layouts
Hi, I''ve just started to try and spec my application.html.erb layout as one of the view specs but it totally barfs. I''m guessing that it''s due to the yield statements in the layout. Any clues as to how to proceed? Cheers Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Jun 09
0
failing integration test
...troller => ''users'', :action => ''new'' end When I do a "spec spec/" I get 5 tests failed: 1) NoMethodError in ''Layout links should have a Home page at ''/'''' undefined method `match'' for []:Array /home/di/rails_projects/sample_app/spec/integration/layout_links_spec.rb:5: 2) NoMethodError in ''Layout links should have a Contact page at ''/contact'''' undefined method `match'' for []:Array /home/di/rails_projects/sample_app/spec/integration/layout_links_spec.rb:10: 3) NoMet...
2007 Dec 23
5
prepend_view_path not working
...themes over the weekend. Running into a view issues. I have a before_filter in the ApplicationController that calls prepend_view_path to add the path of my theme. I even log the view_paths in an after_filter to make sure it made it all the way through. The output looks something like: /path/to/rails_project/themes/default/views:/path/to/rails_project/app/views Yet nothing loads. In the docs it says calling prepend_view_path as an instance method will only effect the current request, which I figured should be fine. But I tried calling it as a class method as well, which is supposed to not effect the...
2012 Nov 06
2
rspec failure upon revisit
...fy anything except I did overwrite users_controller.rb and users_controller_spec.rb when starting another chapter of the tutorial. I''m not sure what changed. I''m having trouble diagnosing the error: Pending: UsersHelper add some examples to (or delete) /Users/andrewchickedantz/rails_projects/sample_app/spec/helpers/users_helper_spec.rb # No reason given # ./spec/helpers/users_helper_spec.rb:14 User add some examples to (or delete) /Users/andrewchickedantz/rails_projects/sample_app/spec/models/user_spec.rb # No reason given # ./spec/models/user_spec.rb:4 users/new.h...
2008 Sep 12
1
ArgumentError: Unknown key(s): dependant
...an association error today with facebooker. class Cover < ActiveRecord::Base belongs_to :album end class Album < ActiveRecord::Base has_one :cover, :dependent => :destroy end At the console: >> Album.find :first ArgumentError: Unknown key(s): dependant from /home/marc/rails_projects/project/vendor/plugins/facebooker/lib/facebooker/rails/helpers.rb:589:in `assert_valid_keys'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations.rb:1187:in `create_has_one_reflection'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.0...
2005 Oct 11
0
Re: stylesheets directory unavailable in Apache but notWebrick
...had this problem? > > Here''s the vhost information for my very simple test application: > > I''m using Apache on Windows XP with FastCGI > > # meetings.caldwells.com > <VirtualHost *> > ServerName meetings.caldwells.com > DocumentRoot "c:/rails_projects/www/meetings/public/" > ErrorLog "c:/rails_projects/www/meetings/log/apache.log" > <Directory "c:/rails_projects/www/meetings/public/"> > Options ExecCGI FollowSymLinks > AllowOverride all > Order allow,deny > Allow fro...
2014 Apr 19
0
Setting up rails, created a directory, wondering where to install rails
Hello, its my first time using ruby or the terminal, I am on Mac OS X Mavericks. I am trying to set up ruby on rails, I have got the rvm installed, I have also created a "mkdir rails_projects" and I have "cd rails_projects" However, I haven't yet install rails, I did it on purpose because I heard that its better to install it in each project separately instead of globally. I am however, lost as to where in the project i should install it at? is it ok if I install in...
2013 Aug 29
4
linkedin gem
...in match'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1269:in `each'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1269:in `match'' from /Users/rekha/rails_projects/linkedin_gem/config/routes.rb:7:in `block in <top (required)>'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:289:in `instance_exec'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/actio...
2007 Aug 28
1
what''s the view format in trunk?
...ler which should render the view: def new @photo = Photo.new respond_to do |format| format.html { render } end end and in my app/views folder I have an upload folder and inside it a new.html.erb file but it doesn''t get picked up. No template matched /Users/matta/rails_projects/my_app/trunk/upload_manager/app/views/upload/new.{} I tried adding a .herb file and .html but it didn''t help. Thanks, -Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070828/2ee8e56c/attachment...
2010 Nov 24
1
NameError in Devise/sessionsController#new
.... define some permissions. Then added line load_and_authorize_resource to the Application Controller, after that when i go to the page http://0.0.0.0:3000/users/sign_in it gave the following error, NameError in Devise/sessionsController#new uninitialized constant Session Rails.root: /home/nazar/rails_projects/sample_can Please help me, i can not solve this issue. -- 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 fro...
2011 Feb 09
0
Weird error after upgrading to rails 3.0.4
Hey folks, have you seen this ever? [user@i ~/rails_project]$ rake rails:update --trace (in /usr/home/rails_project) rake aborted! uninitialized constant ActiveModel::Validations::HelperMethods /usr/local/lib/ruby/gems/1.8/gems/activemodel-3.0.4/lib/active_model/ validations.rb:50 /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.4/lib/ active_support/con...
2011 Oct 07
1
403 Error Dont know whats wrong.
Hi, I am quite new to ruby and am programming an application to send sms using rest_client gem. I so far have code on one of my modules which tries to send an sms to a number. It gives the 403 error - RestClient::Forbidden in SMSController#index 403 Forbidden Rails.root: /Users/user1/Desktop/rails_projects/sms_app My code in the module looks as follows - before adding this code i had a simple enter number and enter message text boxes with the usual edit/add/delete options. require ''rubygems'' require ''rest_client'' class SMS < ActiveRecord::Base API_URL...
2011 Feb 20
2
Problem with mysql2 gem and Debian
...9;, ''~> 2.4'' gem ''autotest'' end # Deploy with Capistrano gem ''capistrano'' gem "mocha", :group => :test And the production part of my database.yml production: adapter: mysql2 encoding: utf8 reconnect: false database: rails_project pool: 5 username: rails password: socket: /var/run/mysqld/mysqld.sock -- 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.or...
2012 Feb 03
10
ruby on rails 3 tutorial book chapter9 Signin Failure
Hi I have problem trying to pass the signin failure test. This is the test code of the sessions_controller.rb def create user = User.authenticate(params[:session][:email], params[:session][:password]) if user.nil? flash.now[:error] = "Invalid email/password combination." @title = "Sign in" render
2008 Jan 13
0
rake db:test:prepare causes error
...sting up and running. I tried Googling my problem and haven''t found an answer that has worked. When I run rake db:test:prepare, I get the following error (I''m working with the RailsSpace book): Macintosh:rails_space myusername$ rake db:test:prepare (in /Users/myusername/Documents/rails_projects/rails_space) rake aborted! Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''DEFAULT CHARACTER SET `utf8`'' at line 1: CREATE DATABASE `rails_space_test` DEFAULT CHARACTER SET `utf8...
2014 Apr 04
0
Rspec not running properly
Hello everybody, Being a new user of RoR, i'm experiencing a problem using Rspec, it should end without errors but I still get this result: PS C:\RubyTools\rubygems-2.2.2\rails_projects\sample_app> rspec spec Called from: C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.0/lib/action_dispatch/middleware/session/abstract_store.rb:28:in `initialize'. Rack::File headers parameter replaces cache_control after Rack 1.5. FFFFFFFFF Failures: 1) PagesCo...
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
Hello, this morning I was trying to access my app on my computer, but, when I initialize the server and access localhost:3000, this message shows up: ActiveRecord::ConnectionNotEstablished So, I try to access via rails console, but again, another error: felipe@Felipe:~/rails_projects/simple_cms$ rails console /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:143:in `block in replace_gem'': Please install the mysql adapter: `gem install activerecord-mysql-adapter` (mysql is not part of the bundle. Add it to Gemfile.) (LoadError...
2014 Apr 23
0
Something went wrong
http://secret-brushlands-1375.herokuapp.com/users/sign_up Not sure why all of a sudden I am getting this error message when I try to save a new user - Here is the log file: C:\rails_projects\store4>heroku logs 2014-04-23T21:35:54.918695+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/act ivesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' 2014-04-23T21:35:54.918698+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/act ivesupport-4.1.0/lib/active_support/callbacks.rb:22...