Changesets can be listed by changeset number.
The Git repository is here.
Changeset 180
Removed frozen Rails release. Fixed issues arising from
running on top of Rails 1.2.
- Comitted by: rool
- Date: Sunday March 25 13:30:52 2007 (over 17 years ago)
Affected files:
- rool/rails/radiant/trunk/vendor/rails/
- rool/rails/radiant/trunk/app/helpers/admin/page_helper.rb (diff)
- rool/rails/radiant/trunk/app/models/page_context.rb (diff)
- rool/rails/radiant/trunk/config/boot.rb (diff)
- rool/rails/radiant/trunk/config/environment.rb (diff)
rool/rails/radiant/trunk/app/helpers/admin/page_helper.rb:
prev. | current | |
render :partial => 'node', :locals => locals | ||
end | ||
7 | # Updated expanded_rows method obtained from latest trunk source | |
8 | # at radiantcms.org, 25-Mar-2007, for Rails 1.2 compatibility. | |
9 | ||
def expanded_rows | ||
8 | | |
9 | | |
11 | case | |
12 | when row_string = (cookies['expanded_rows'] || []).first | |
13 | row_string.split(',').map { |x| Integer(x) rescue nil }.compact | |
14 | when @homepage | |
15 | [@homepage.id] | |
else | ||
11 | | |
12 | | |
17 | [] | |
18 | end | |
end | ||
14 | | |
20 | ||
def meta_errors? | ||
!!(@page.errors[:slug] or @page.errors[:breadcrumb]) | ||
end |
rool/rails/radiant/trunk/app/models/page_context.rb:
prev. | current | |
# Support the linked_directory_listing tag. | ||
# | ||
605 | require 'find' | |
606 | # | |
def recursive_directory_list_in_li_tags(base, dir) | ||
# Based on: |
rool/rails/radiant/trunk/config/boot.rb:
prev. | current | |
if version = cfg['Gem Version'] | ||
require 'rubygems' | ||
if radiant_gem = BootUtil.find_gem('radiant', version) | ||
30 | | |
30 | gem 'radiant', "= #{version}" | |
else | ||
STDERR.puts %( | ||
Cannot find gem for Radiant =#{version}: | ||
... | ... | |
require 'rubygems' | ||
if version = defined?(RAILS_GEM_VERSION) ? RAILS_GEM_VERSION : rails_gem_version | ||
if rails_gem = BootUtil.find_gem('rails', version) | ||
63 | | |
63 | gem "rails", "=#{version}" | |
require rails_gem.full_gem_path + '/lib/initializer' | ||
else | ||
STDERR.puts %( | ||
... | ... | |
exit 1 | ||
end | ||
else | ||
74 | | |
74 | gem "rails" | |
require 'initializer' | ||
end | ||
end | ||
Rails::Initializer.run(:set_load_path) | ||
80 | ||
81 | end |
rool/rails/radiant/trunk/config/environment.rb:
prev. | current | |
# Be sure to restart your web server when you modify this file. | ||
# Rails Gem Version | ||
4 | ||
4 | # RAILS_GEM_VERSION = '1.1.2' | |
# Uncomment below to force Rails into production mode when | ||
# you don't control web/app server and can't set it the proper way |