Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test out the new gem! #9

Open
technoweenie opened this issue Dec 5, 2011 · 3 comments
Open

Test out the new gem! #9

technoweenie opened this issue Dec 5, 2011 · 3 comments

Comments

@technoweenie
Copy link
Owner

I've pushed out serializable_attributes 0.9.0 to rubygems just now. I renamed it because someone else took it the same name for a separate (but similar gem).

Check it out, let me know if there are problems. The library itself has been pretty stable for awhile, so I'd like to get 1.0 out soon.

@technoweenie
Copy link
Owner Author

@mguterl: I thought all I needed was a rails_init.rb at the root of a gem for a Rails plugin gem? Do you know by chance? I'd like to make sure that works, and then I'll push out a 0.9.1 release.

@mguterl
Copy link
Collaborator

mguterl commented Dec 5, 2011

I'll integrate this into our project right now and I'll get back to you.

On Mon, Dec 5, 2011 at 2:48 PM, rick
[email protected]
wrote:

@mguterl: I thought all I needed was a rails_init.rb at the root of a gem for a Rails plugin gem?  Do you know by chance?  I'd like to make sure that works, and then I'll push out a 0.9.1 release.


Reply to this email directly or view it on GitHub:
#9 (comment)

@mguterl
Copy link
Collaborator

mguterl commented Dec 5, 2011

From what I can gather, Rails 3 does not automatically load any files
other than lib/serializable_attributes/railtie.rb, but that seems
overkill as the plugin doesn't need to setup instrumentation or
anything like that.

From what I remember Rails 2 will automatically load init.rb for any
directories in vendor/plugins.

I was able to get a Rails 3.0 and Rails 2.2 project both working
without warnings with the following changes:

master...proper_loading_of_plugin

On Mon, Dec 5, 2011 at 2:53 PM, Michael Guterl [email protected] wrote:

I'll integrate this into our project right now and I'll get back to you.

On Mon, Dec 5, 2011 at 2:48 PM, rick
[email protected]
wrote:

@mguterl: I thought all I needed was a rails_init.rb at the root of a gem for a Rails plugin gem?  Do you know by chance?  I'd like to make sure that works, and then I'll push out a 0.9.1 release.


Reply to this email directly or view it on GitHub:
#9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants