Roland Mai wrote:
> I think I got the user creation to work by commenting out the
>
> User.transaction(@user) do
>
>
> After reading about transactions on api.rubyonrails.com it didn't make
> much sense why one would have a transaction there because there is only
> transaction. I did the same fo
Hello,
I tried to migrate the schema for Login_Engine but I get this error
>rake engine_migrate ENGINE=login
rake aborted!
No such file to load -- authenticated_user
I cannot seem to find anyone else with the same problem.
Thanks,
JP
--
Posted via http://www.ruby-forum.com/.
___
What you should keep in mind when developing an Engine:
## Keep it focused
Don't try and solve 1000, 100, or even 10 problems. Do one thing, pick
one strategy, and do it cleanly and clearly.
## Convention over configuration
Don't add configuration until YOU need it, and even then think hard
about
This should probably work:
1. either a) migrate the user/login engines down to version 0, or b)
edit the engine_schema_info table directly
2. re-migrate the engines to recreate the tables
- j
On 11 May 2006 22:59:36 -, steve ross
<[EMAIL PROTECTED]> wrote:
> I have what seems to be a hosed u
Paul,
You probably want to have some has_many :through style association,
i.e. User has many Roles through ProjectPosition, or something like
that.
- james
On 4/20/06, Paul Robinson <[EMAIL PROTECTED]> wrote:
> OK, I've not seen anything out there on this, but maybe you guys can
> make a suggest
It's very unlikely that there will ever be any kind of 'automatic
namespacing' provided with by the Engines plugin; less magic and
behaviour which is consistent with the rest of Rails is always
preferable.
On 5/9/06, Bart Masschelein <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wanted to convert an E
It's quite possible that the login engine is redirecting to
:controller => 'user', rather than :controller => '/user' (the latter
being necessary to escape out of user modules), though you'd need to
check the code for that.
If that's the case, submit a ticket and it'll get patched up forthwith.
-
Can you supply the error message in full - the method trace will be helpful.
- james
On 13 May 2006 16:45:56 -, Domenic Ippolito
<[EMAIL PROTECTED]> wrote:
> Hi, I'm also getting the add_path error in engines.rb.
> I'm running rails 1.1.2, and I've tried using edge rails and specifying
>
> mo
Hi all
I'd like to begin with clean development of engines that I will be able
to re-use and give to the Rails community.
Now my question: what should I always keep in mind when writing code for
an engine? I'm thinking here about stuff like that I shouldn't hard-code
table names etc.
And by th
http://api.rails-engines.org/engines/files/vendor/plugins/engines/README.html
Or maybe this one? :-)
--
Posted via http://www.ruby-forum.com/.
___
engine-users mailing list
engine-users@lists.rails-engines.org
http://lists.rails-engines.org/listinfo.cg
Maybe this helps you out.
http://www.rails-engines.org/wiki/pages/Extracting+Engines
--
Posted via http://www.ruby-forum.com/.
___
engine-users mailing list
engine-users@lists.rails-engines.org
http://lists.rails-engines.org/listinfo.cgi/engine-users-r
Hello there,
I am using the user and login engine in my application, and it works
perfectly when used in 'normal' controllers, but when used in a controller
like 'admin/general', it does not work properly, because when going to
http://localhost/3000/admin/general I get the following:
Routing Erro
12 matches
Mail list logo