[ANN] Substruct v1.3.0 released on Rails 2.3.8

12 views
Skip to first unread message

seth b

unread,
Aug 27, 2010, 1:42:56 AM8/27/10
to substruct, rails
Substruct, the original RoR e-commerce platform has been updated to v1.3.0

You can get a pre-build archive at http://substruct.googlecode.com
Demo of the new version is up at http://substruct.subimage.com
You can login to http://substruct.subimage.com/admin as "admin",
password "admin.

Changes are as follows.

VERSION 1.3 - 08/25/2010
---------------------------------------
Upgraded to Rails 2.3.8, which has been long overdue.

Besides upgrading Rails, I took the time in this release to clean up the
content editing features and make Substruct a solid blogging and CMS.

There are many subtle UI tweaks which improve the workflow of
generating content.

Added:
1. TinyMCE content editor for blogging and product descriptions.
- Provides much more non-tech friendly way to enter information.
2. Slick image selector / uploader when editing content from TinyMCE
- There's an image button that links to an image selection modal,
and you may also upload multiple images, then insert one.
3. Vendored many required gems to simplify installation process.
- This requires you to run rake gems:build now when deploying.

Updated:
1. Upgraded to Rails 2.3.8
2. Refactored the SubModal code and bumped version to 2.0
3. Many UI tweaks

Removed:
1. Support for textile in ContentNodes and Product descriptions
is out the window. Since we're using a rich content editor it makes
no sense to support this format any longer. Migrations are included
to render the textile content, then save back to the database as HTML.

!!! GOTCHAS !!!

Migrations:
Migration support for Engines in Rails 2.3 is a bit strange.
There are some upgrade steps below. Ensure to follow them properly.
Specifically - we need need to use the old-style NUMBERED migrations,
not the new timestamped ones.

Code Mixing:
Automatic "code mixing" for controllers was removed with Rails/Engines 2.3
This is basically a short cut for requiring a controller/helper from the
plugin before reopening the class again in the application.

If you're overriding any controller code from Substruct
you will need to include the file like so...

require_dependency RAILS_ROOT +
"/vendor/plugins/substruct/app/controllers/store_controller"
class StoreController < ApplicationController
...your custom code here...
end

Upgrade steps:
1. rake gems:build
2. rake substruct:upgrade:v1_3
- This preps your app for Rails 2.3.8 by editing some files.
3. rake rails:update
4. rake db:migrate:upgrade_plugin_migrations
5. rake db:migrate:plugin NAME=substruct
6. Edit your environment.rb file, ensure you see a line like the one below
for "timestamped_migrations".

Rails::Initializer.run do |config|
config.active_record.timestamped_migrations = false
# ...rest of your config...
end

--------------------
http://subimage.com
http://twitter.com/subimage

Alexis Masters

unread,
Aug 28, 2010, 12:45:31 AM8/28/10
to subs...@googlegroups.com
Hi seth, 
I have been looking at Substruct for use as an adjunct to a rails app called Community Engine (CE), which I"m using to develop an online writers' university. CE requires RAILS_GEM_VERSION = '2.3.4' and I see that you have upgraded to 2.3.8. Is there a version between your older one and this new one? 
~ Alexis
_____________
Alexis Masters, author & web designer




--
You received this message because you are subscribed to the Google Groups "substruct" group.
To post to this group, send email to subs...@googlegroups.com.
To unsubscribe from this group, send email to substruct+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/substruct?hl=en.


subimage

unread,
Aug 28, 2010, 2:06:01 PM8/28/10
to substruct
Hey Alexis,

No there is not a middle version, but you could try running them both
on 2.3.4, or 2.3.8 and see what happens. :)

- Seth

On Aug 27, 9:45 pm, Alexis Masters <ale...@designbyalexis.com> wrote:
> Hi seth,
> I have been looking at Substruct for use as an adjunct to a rails app called Community Engine (CE), which I"m using to develop an online writers' university. CE requires RAILS_GEM_VERSION = '2.3.4' and I see that you have upgraded to 2.3.8. Is there a version between your older one and this new one?
> ~ Alexis
> _____________
> Alexis Masters, author & web designerhttp://www.designbyalexis.com
>
> On Aug 26, 2010, at 10:42 PM, seth b wrote:
>
>
>
> > Substruct, the original RoR e-commerce platform has been updated to v1.3.0
>
> > You can get a pre-build archive athttp://substruct.googlecode.com
> > Demo of the new version is up athttp://substruct.subimage.com
> > You can login tohttp://substruct.subimage.com/adminas "admin",

Alexis Masters

unread,
Aug 28, 2010, 2:08:27 PM8/28/10
to subs...@googlegroups.com
Yes, I thought I would try that. Would you like me to let you know how it goes?
~ Alexis
_____________

Alexis Masters, author & web designer
http://www.designbyalexis.com

seth b

unread,
Aug 28, 2010, 5:25:46 PM8/28/10
to subs...@googlegroups.com
Sure, it could be useful for other people who might try a similar approach.

Reply all
Reply to author
Forward
0 new messages