Displaying 20 results from an estimated 500 matches similar to: "MissingSourceFile in LoginController#login PROBLEM"
2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb
# Load the rails application
require File.expand_path(''../application'', __FILE__)
# Initialize the rails application
Qstack::Application.initialize!
require ''koala''
This is my application_controller.rb
class ApplicationController < ActionController::Base
# protect_from_forgery
before_filter :parse_facebook_cookies
def
2006 Apr 19
6
undefined method `create_table'' for #<LoginController:0x5e60
I am geeting the foolowing error.
undefined method `create_table'' for #<LoginController:0x5e60110>
I wrote the crete action in application controller.
I am coping ther total worng please help me!
class ApplicationController < ActionController::Base
model :cart
model :line_item
before_filter :authorize
def create
# create_table() yields a TableDefinition instance
2008 Jan 16
4
ActionController::InvalidAuthenticityToken in LoginController
Hi,
I''m having a problem trying to get a login controller working. When I
try and post to my login controller I get the following error:
ActionController::InvalidAuthenticityToken in LoginController#login
login_controller:
class LoginController < ApplicationController
def login
case request.method
when :post
if @session[''user''] =
2007 Aug 09
2
no such file to load -- acts_as_ferret (MissingSourceFile)
Hi
I''ve been using acts_as_ferret for a few weeks on my ibook and
everything has been going just fine. But when I migrated my project onto
windows xp sp2, acts_as_ferret seemed to become broken.
I just put my project into a svn repository from ibook and checked it
out into a windows pc. I got ruby1.8.5, rails1.2.3, ferret0.11.4
installed as gems. After I checked out the project, I got
2006 Nov 22
0
rspec_on_rails MissingSourceFile
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2008 Jun 12
2
Mongrel won''t start ... mongrel_rails (MissingSourceFile)
Hi All,
I''m a newbie and I''m soooo confused at the moment!
Here''s my setup:
1) I''ve installed Ruby 1.8 on an Ubuntu 7.10 platform. I used apt to
install that.
2) I downloaded rubygems_1.1.1 and installed that (tar -xzf, then ruby
setup.rb)
3) I installed rails (gem install rails --include-dependencies)
4) I installed mongrel (gem install mongrel
2009 Jan 14
1
MissingSourceFile (no such file to load -- mysql)
I''m having problem trying to get the app running properly due to it not
finding MySQL.It seems that the app can''t find mysql.
This error shows up on my production log: MissingSourceFile (no such
file to load -- mysql)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2008 Sep 09
2
MissingSourceFile error
I created a rails application by "rails demo" command and generated a
controller "script/generate controller Say". Then I created a file in
app/view/say/hello.html.erb. I added a method "hello" in
app/controllers/say_controller.rb. From a browser to access the link
"http://localhost:3000/say/hello, I got this error:
MissingSourceFile in SayController#index
no
2006 May 29
0
MissingSourceFile (no such file to load -- breakpoint):
Anyone seen this before? I did a gem update recently and may have broken
something. But I''d still like to decipher what the message below
actuallt means:
MissingSourceFile (no such file to load -- breakpoint):
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
2006 Jan 16
0
newbie - MissingSourceFile error
Hi RoR List
I''m new to rails and I''m going through the tutorial @
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
I have Ruby version 1.8.2 (2004-12-25) [i386-mswin32]
and I installed rails remotely with
>gem install rails --remote
But when I create a simple controller and tried to load the
page I get error:
MissingSourceFile in <controller not
2008 Oct 22
0
active_adaptor (MissingSourceFile)
Hi,
Need a small help. Which package has "active_adaptor"? Below is detailed
error message. The line "require ''active_adaptor''" is failing in
compiler.rb.
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- active_adaptor
(MissingSourceFile)
from
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2007 Nov 15
2
MissingSourceFile spec/rails/story_adapter.rb
I can see that the file story_adapter.rb isn''t where it is supposed to
be, however, I don''t know where it comes from in the first place.
Can someone give me a hint here?
I installed using:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
The above is
2006 Nov 24
0
rSpec REL_0_7_2 rspec_on_rails (MissingSourceFile) >> Fixed in trunk
Hi Aslak, Thanks for the help. That bug is fixed in trunk.
Here''s my path to recovery ...
$ svn co svn://rubyforge.org/var/svn/rspec/trunk ~/tmp/rspec
$ cd ~/tmp/rspec
$ rake gem
$ sudo gem install pkg/rspec-0.7.3.gem
$ ./script/plugin install --force svn://rubyforge.org/var/svn/rspec/trunk/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec (required to regenerate
2008 May 14
2
MissingSourceFile: no such file to load -- digest/shal
I attempted to bring up digest/shal in the console but it seems to not
be in there. After - gem update I still do not have this 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 post to this group, send email to
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and
setup a config/ldap.yml file. Starting rails gives me an error that it
can not find the ldap source file. (I installed from the gem with its
prerequisites log4r, etc.)
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- ldap (MissingSourceFile)
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2
with fcgi. With any action I try, it throws an exception saying it can''t
find the source file. For instance, requesting an action in my
welcome_controller results in:
MissingSourceFile in <controller not set>#<action not set>
No such file to load -- app/controllers/welcome_controller.rb
The log
2009 Oct 04
2
no such file to load -- restClient (MissingSourceFile) HELP
i don''t get what is going on here. if i run the restclient command
that starts an irb with restclient it works fine but when i try to load
it from environment.rb with require ''rest_client'' this is what i get...
it''s driving me batty.
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'': no such file to load --
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker:
First I make a simple app:
rails foo -d mysql
cd foo
script/plugin install git://github.com/mmangino/facebooker.git
Then I go to config/environment.rb and change the rails version to
''2.2.2'' Then I run the console:
script/console
and I get:
[17:56][herdrick:~/rails/foo]$ script/console
2013 Apr 23
3
Tinc power consuption
hello tincers,
when I on battery on my notebook, running powertop, I get
nic:<tinc-net-name> as the most power consuption resource in my notebook
just after the screen.
This happens no matter if I have traffic or not.
I am not really sure that if this is really a tinc fault or a tap/tun
implementation that never sleeps.
any advice?
-------------- next part --------------
An HTML