Posted By: Dave Nelson
Date: 2006-09-04 07:27
Summary: Goldberg 0.1.2
Project: Goldberg

This release adds Ajax Scaffold support to Goldberg, the website development tool for Ruby on Rails.

The main site template -- application.rhtml -- will look to see if the Ajax Scaffold stylesheets and javascripts exist, and if so it will include links to them. For users who don't use Ajax Scaffold, no action is required.

Database support is also improved in this version: the dumps for MySQL and PostgreSQL should be more reliable and compatible across different versions of MySQL and PostgreSQL.

ActiveRecord session storage is no longer enabled by default for Goldberg (although you can re-enable it if you want by editing your environment.rb file). It was causing problems for Windows users; but UNIX/Linux users should continue to have no problems with ActiveRecord storage of sessions.

This release also fixes a number of bugs, and features a cleanup of the session/authorisation code.

Overall this release should clear up most of the outstanding bugs and reliability issues, so we can start focusing on improvements. Please contact us with feedback (good and bad) so we can prioritise appropriately.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: goldberg-0.1.2-released

Start New Thread Start New Thread

 

By: Joel SAGNES
Can't login to Goldberg [ reply ]  
2006-09-26 21:27
Hello,

I just installed Goldberg 0.1.2.

As I was already playing with rails (1.1.2-1ubuntu0.1) & a PostgreSQL (7.4.3-3) db and instructions are very straightforward, all seemed very easy... except when entering the login/pwd "admin/admin", I just got :

NoMethodError in Content pagesController#view_default

You have a nil object when you didn't expect it!
The error occured while evaluating nil.>

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

#{RAILS_ROOT}/app/controllers/application.rb:23:in `authorise'

Here is the session dump :

---
:menu: !ruby/object:Menu
by_id:
1: &id002 !ruby/object:Menu::Node
content_page_id: 1
controller_action_id:
id: 1
label: Home
name: home
parent:
parent_id:
site_controller_id:
url: /home
2: &id001 !ruby/object:Menu::Node
content_page_id: 6
controller_action_id:
id: 2
label: Contact Us
name: contact_us
parent:
parent_id:
site_controller_id:
url: /contact_us
by_name:
contact_us: *id001
home: *id002
root: &id003 !ruby/object:Menu::Node
children:
- 1
- 2
parent:
selected:
1: *id002
vector:
- *id003
- *id002
:last_time: 2006-09-26 22:59:00.419642 +02:00
:credentials: !ruby/object:Credentials
actions:
roles:
list: false
menu_items:
list: false
link: true
auth:
logout: true
forgotten: true
login_failed: true
login: true
site_controllers:
list: false
content_pages:
list: false
view_default: true
view: true
permissions:
list: false
controller_actions:
list: false
system_settings:
list: false
users:
list: false
controllers:
menu_items: false
roles: false
auth: false
site_controllers: false
markup_styles: false
roles_permissions: false
content_pages: false
controller_actions: false
permissions: false
system_settings: false
users: false
pages:
notfound: true
admin: false
site_admin: false
contact_us: true
home: true
expired: true
denied: true
permission_ids:
- 4
- 3
role_id: 1
role_ids:
- 1
updated_at:
flash: !map:ActionController::Flash::FlashHash {}

I don't know if it's related but I added one of my db tables through ajax_scaffold _before_ loading the home page.

After that, just to make sure it was not a simple matter of an erroneous password, I did it all over again but stripped the users.password field of its "NOT NULL" statement just to be able to blank it afterwards.

Same thing. :/

Still, congratulations for this superb work of yours I just can't wait to try my hand at.