Displaying 20 results from an estimated 9000 matches similar to: "access to lib?"
2006 Jul 09
5
where do uncaught exceptions printouts go?
Hi,
I have a worker, which should have thrown an uncaught exception and dumped the stack in the do_work
method, however I saw no dump or indication of any error in any of the logs.
This makes it very hard to debug, where does stdout and or stderr go? How canb I know if it gets
some kind of error? (in this case not being able to find a class).
Thanks
--
Jim Morris, http://blog.wolfman.com
2006 Apr 10
1
LoginEngine 1.0.1
Hi,
The LoginEngine has been updated to 1.0.1.
Notable changes:
* User model now does very basic email validation
* All tests now pass on both Rails 1.0 and 1.1
* Many bugs fixed!
Please refer to the Engines documentation for how to update.
http://www.rails-engines.org/download
The subversion URL for the tag is:
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1
= v1.0.1
* Added
2006 Mar 27
13
Is this a bug in Ajax handling?
When a controller responds to a link_to_remote with a redirect_to, the
link_to_remote gets a success callback, this would seem like a bug to
me, at a minimum it should return a failure?
This is driving me crazy because all the login engines/generators
respond to an authentication error with a redirect_to. The work around
is to change them to all do a
render :layout => false, :status => 500
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
Hi,
I have a standard type authentication technique direct from AWDWR, so there is a
before_filter :authorize_employee, :except => :login in my employees_controller.rb
the authorize_employee is in application.rb
def authorize_employee
unless session[:employee_id]
flash[:notice] = "Please log in"
# save the URL the user requested so we can hop
2006 Jun 22
6
Capistrano with Local (not file:///) repository
I''m developing an rails app. The SVN repository resides on a (Win 2k)
server on my company''s local intranet. The repository is accessed via
http (Apache + mod_dav_svn). From this machine, it is not a problem to
get out onto the Internet. However, coming in from the Internet is not
possible (at least, not without a VPN connection).
Given this, is it possible to use
2012 Mar 22
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Mar 22, 2012, at 12:28 AM, Bill Wendling wrote:
> On Mar 20, 2012, at 7:38 PM, Paul J. Lucas wrote:
>
>> I've read the docs on LLVM exceptions, but I don't see any examples. A little help?
>
> I don't think this has anything to do with LLVM's IR-level exception system. It sounds to me like you just need a way to handle C++ exceptions inside of the C++ code
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi,
I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests
for the action_web_services fail as follows, any ideas what I did wrong?
Thanks
TypeError: can''t modify frozen object
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2013 Jun 09
2
Minitest mock or stub methods
Hi
I''m building a small library to use in my Rails app which interacts with a
3rd party API. It fetches artists and tracks.
So I have:
lib/my_lib.rb
lib/my_lib/artist.rb
lib/my_lib/track.rb
To get an artist I do
artist = MyLib::Artist.find("Oasis")
Which returns an instance of Artist if it finds (via 3rd party API) it or
nil otherwise.
Then I can call artist.tracks which
2006 Oct 23
10
text_field_with_auto_complete
Hi,all
I''ve used text_field_with_auto_complete for a while but still haven''t
figured out how to store the value that I selected from the suggested
options. any hints?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2020 May 27
2
OpenMP Error in Clang
Hello,
I am getting the following error while trying to build a benchmark with a custom function pass:
clang -Xclang -fopenmp=libomp -Xclang -load -Xclang my_lib.so file.c
error: unknown argument: '-fopenmp=libomp'
If I use this instead:
clang -Xclang -fopenmp=libomp -Xclang -load -Xclang my_lib.so file.c
I get the error: fatal error: 'omp.h' file not found
I am not
2008 Jul 03
0
Testing HAML in helper rspec
Thought I''d post this under its own heading so others can find it.
Thanks to David for the pointers to solve this.
Here is the incantation needed to use HAML 2.0 under RSpec 1.1.5 (Needs the .5 for a fix)
# application_helper_spec.rb under spec/helpers
...
before :each do
helper.extend Haml
helper.extend Haml::Helpers
helper.send :init_haml_helpers
end
it
2006 Oct 30
7
belongs_to nonintuitive results with assignment?
class Page < ActiveRecord::Base
has_many :lists
end
class List < ActiveRecord::Base
belongs_to :page
end
######### controller code, inside action:
list = List.find(params[:id])
old_page = list.page
list.page = new_page
# what is the value of old_page now?
old_page now is the same as new_page! what the heck?!?
The only thing i can think of is that old_page is
2006 Aug 06
1
Deploying from local machine to remote host using capistrano?
Hi,
I would like to deploy a RoR application from my local machine to a remote
host.
Looks like the capistrano assumes that you are using an internet accessible
host for the SVN repository and doesn''t checkout files using file:///!
Did I miss some configuration?
How do other people handle their application deployment from your local
machine?
Thanks for your feedback.
Regards, Hari
2006 Jul 14
2
multiple options & checkboxes
Hello,
I''m trying to implement a checkbox option function, but I''m having a
problem in visualizing how it needs to be implemented.
Let me explain. I have a model (User) and another model (Category). I
want the user to be able to select multiple categories in the form of
checkboxes and have this information stored in the db.
User habtm Category
and
Category habtm User
But
2006 May 29
8
Rails and user authentification
I am a the point now where I have to add user authentification to my
application.
Anyone can point me toward an easy to use / secure library? I know about
ActiveRBAC and was wondering if there is anything else that I should
consider.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
2
HABTM with ajax_scaffold
has anyone managed to do this? It works great for has_one, belongs_to type
stuff, but i cant seem to get a HABTM setup going. Any demo code or advice
greatly appreciated.
Excellent work on this tool by the way its really great work.
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Aug 19
1
Problems building dlls for use with winelib
Hi,
I am currently having trouble building the DLLs of an application ported
from Win32 to Winelib - compiling, thanks to some hints from Dimi O.
Paun, now works fine, only(?) the final linking step fails. Since
Winelib-documentation is unfortunately pretty outdated, I tried to
orientate myself on the makefiles of the Winelib dlls in the cvs
/wine/dlls/ directory. I tried the following
2008 Dec 17
1
How to iterate dataframe within a hash
Dear all,
I have the following data structure
> print(testlib)
$tags
tag count.raw count.adj err
1 aaaaaaaaaa 94 93 0.5
2 aaaaaaaaac 1 2 0.2
3 aaaaaaaaag 3 2 0.1
4 aaaaaaaaca 1 1 0.003
I want to iterate the data above and print
2010 Nov 15
1
Version 2.12.0 exe file
I have R version 2.9.1 on my computer and the anlaysis is not working
because I need to update to R version 2.12.0 the latest release.
The person incharge of IT tried to download R version 2.12.0 but .exe file referenced in install isn't
there - What might we be doing wrong? We have downloaded as tar.gz,
uncompress then look for .exe file but not present.
Many thanks,
Morris
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html