Displaying 20 results from an estimated 5000 matches similar to: "Plugins dependency mechanism?"
2006 Mar 13
4
controllers, models and views in plugins
Hello all,
Is it possible to package controllers, models and views in a plugin? The
tutorials for plugins seem rather sparse at the moment...
I''ve written a form "widget" that I''ve been using as a partial that I would
like to reuse in other projects. I was thinking about making a component
out of it, but I need to be able to access some of the form data that it
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys,
I''m having some trouble getting login_engine to work. I''ve followed the
steps in the README file to the letter (I think) with the exception of
the Mailer stuff and cannot get my application to run. Heres what I have;
module ApplicationHelper
include login_engine
end
#####################################
require ''login_engine''
class
2006 May 15
5
Login generator errors.
Okay, I download login generator and I used it on my new app but, it''s
not working correctly. If the user logins on the same session as he
created he will login if it isn''t the same session it fails. What''s
going on?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
Hi,
I want to write a plugin that uses JavaScript and I am wondering how to put
the static content, i.e. the JavaScript, in place?
I read the documentation I found (
http://wiki.rubyonrails.org/rails/pages/Plugins and links) and looked at the
listed plugins.
One thing I found was that subversion seems to be a prerequisite for
providing or even installing plugins. Is that right?
The other thing
2006 Dec 26
15
is there a way to not repeat installing plugins?
i seem to be using the same plugins for all my sites and was wondering
if there is a way to make the process easier and faster?
is this what is called by "packing your own gems"?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Feb 21
26
Net::SMS::BulkSMS 0.1
This is the first release of a new Ruby library for the
www.bulksms.co.ukAPI which should allow simple integration of SMS
functionality into your
Ruby or Rails apps.
Sending a message is as simple as:
@service = Service.new(''username'', ''password'')
@service.send_message(''This is my message!'', ''4479123456789'')
# whats my
2006 Jul 07
2
Testing views with Hpricot
assert_tag smells bad. Hpricot smells nice (apricotty!).
Testing your views with Hpricot:
http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails-
views-with-hpricot/
Big thanks to _why for a great little library!
Feedback is appreciated. rSpec integration coming soon (hopefully!).
Cheers,
Luke Redpath
contact@lukeredpath.co.uk
-------------- next part --------------
An HTML
2006 Jun 29
2
Random routing errors in 1.1.3 with Mongrel
Since upgrading to 1.1.3 on our dev box, we''ve started to see random
routing errors with our apps running under Mongrel in production
mode. The errors seem to go away after a while but come back
everytime we restart the server. This may be a mongrel problem, it
may be a rails problem (I''ve posted a bug on the trac) and I was
wondering if anybody else had had similar
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can
proudly present the initial release of our unobtrusive_javascript
plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in
much of the functionality in his own as-yet unreleased
unobtrusive_javascript plugin into a single plugin.
This is essentially a preview release and probably not suitable for
use on a
2006 Jul 27
0
Rails Plugin Packs
As the number of Rails plugins steadily increases, remembering and
managing these plugins is getting increasingly difficult. There is
some significant effort going into improving the process of
installing plugins with the RaPT project. However, as you start to
find your favourite plugins, you might often find yourself using the
same group of plugins on every new Rails project that you
2006 May 09
5
How to use gettext in plugins?
I use rails-engine as a plugin of the application and I want to localize
the validate message from the plugin:
validates_length_of :login, :within => 3..40, :on => :create, :message
=> N_("%{fn} is too short (min is %d characters)")
It can not display the according language,where should i set it?
I have tried to add
require ''gettext/rails''
2003 Jan 02
1
samba 2.0.6 on HP-UX 11.0
I've had samba running cleanly on an HP-UX 11.0 system for many months, with
"DOMAIN" security and one-to-one account name mapping. A few days ago I
started getting password prompts on connection, and messages like this in
the log files...
[2003/01/02 15:46:36, 0] rpc_parse/parse_prs.c:(316)
prs_mem_get: reading data of size 60 would overrun buffer.
[2003/01/02 15:46:36, 0]
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using
Rails built-in javascript/prototype helpers, with just one extra line
of code in your layout, a plugin, and one small enhancement to the
helpers. Something like this:
[php]
<% form_remote_tag :controller => ''foo'', :action => ''bar'',
:unobtrusive => true %>
# which produces
2018 Jun 04
3
[LLD] Lack of REQUIRES causing test failures when not building with x86 support
If I build lld without x86 support (i.e. with "cmake -DLLVM_TARGETS_TO_BUILD=AArch64”) there are 117 tests that fail “make check-lld”. Upon examination, all are x86 related.
There are multiple (884) tests that have “REQUIRES:.*x86” in the tests directory. Was there a cunning plan regarding the use of REQUIRES that I couldn’t discern?
It seems that either 117 “REQUIRES” need to be added or
2006 Aug 02
5
Fun with ez_where
I''ve been trying to use the ez_where plugin to create a dynamic finder.
The structure looks somehing like this..
=== controller ===
def list
attribute_filter = params[:filter]
@filter = Caboose::EZ::Condition.new :table do
attribute <=> attribute_filter if attribute_filter
end
#
... do the find with the @filter
#
end
=== view ===
....
<%= link_to
2006 Feb 23
5
Access to session from plugins
Hi!
I am writing an acts_as_ plugin and i need to access session data
from it. But i cant find any information if this is possible? And if
it is, how.
Cheers!
Mathias
2009 Nov 13
3
Rescuing svn repo from *IDIOTS*
Hello,
A moron has checked in a DVD iso into subversion.
How can I undo the damage, and make the repo a sensible size again?
Also, is there a cunning way to get subversion to say: "Oi! Moron!
This file is huge, you can't check it in!" ?
S.
2018 Jun 05
2
[LLD] Lack of REQUIRES causing test failures when not building with x86 support
In order to catch a missing "REQUIRES: x86", it might be a good idea to set
up a build bot without the x86 support.
On Mon, Jun 4, 2018 at 8:53 AM Peter Smith via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hello Joel,
>
> I don't think that there is a cunning plan with REQUIRES. I seem to
> remember that there was some debate over the testing strategy and
2006 Mar 03
3
embedding a forum inside a rails app
what is the best way to embed a forum (phpbb is currently installed under
/public/forums/) inside my layout ? I dont want the foum to be its own page
i would like it to appear inside the main part of the page with navigation
and border in tact. is this possible with the current way it is installed ?
thanks
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Mar 03
2
stuck on testing validation
Hello,
I must be doing something dumb, but here it goes...
why does this work?
before(:each) do
@work = Work.new
end
#for testing validates_presence_of :title
it "should require a title" do
@work.title = nil
@work.should_not be_valid
end
while this doesn''t:
def valid_work_attributes
{
:title => "guernica",
:description