This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on email I got from andrea ricci */ | |
a[href^="mailto:"]:before { content: "\2709"; } | |
.phone:before { content: "\2706"; } | |
.important:before { content: "\27BD"; } | |
blockquote:before { content: "\275D"; } | |
blockquote:after { content: "\275E"; } | |
.alert:before { content: "\26A0"; } | |
:before, :after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on email I got from andrea ricci */ | |
a[href^="mailto:"]:before { content: "\2709"; } | |
.phone:before { content: "\2706"; } | |
.important:before { content: "\27BD"; } | |
blockquote:before { content: "\275D"; } | |
blockquote:after { content: "\275E"; } | |
.alert:before { content: "\26A0"; } | |
:before, :after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on email I got from andrea ricci */ | |
a[href^="mailto:"]:before { content: "\2709"; } | |
.phone:before { content: "\2706"; } | |
.important:before { content: "\27BD"; } | |
blockquote:before { content: "\275D"; } | |
blockquote:after { content: "\275E"; } | |
.alert:before { content: "\26A0"; } | |
:before, :after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
God.log_level = :debug | |
ENV['RAILS_ENV'] ||= "staging" | |
ENV['RAILS_ROOT'] ||= ENV['RAILS_ENV'] == "development" ? "." : "/home/rails/public_html/myapp/current" | |
ENV['GOD_UID'] ||= ENV['RAILS_ENV'] == "development" ? ENV["LOGNAME"] : "rails" | |
ENV['GOD_GID'] ||= ENV['RAILS_ENV'] == "development" ? "staff" : "rails" | |
puts "God is starting with:" | |
puts "RAILS_ENV = #{ENV['RAILS_ENV']}" | |
puts "RAILS_ROOT = #{ENV['RAILS_ROOT']}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable automatic framework detection by uncommenting/setting to false | |
Warbler.framework_detection = false | |
# Warbler web application assembly configuration file | |
Warbler::Config.new do |config| config.java_libs += FileList["lib/java/*.jar"] | |
# Features: additional options controlling how the jar is built. | |
# Currently the following features are supported: | |
# - gemjar: package the gem repository in a jar file in WEB-INF/lib | |
# config.features = %w(gemjar) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
require 'sinatra' | |
require 'rubygems' | |
require 'bundler/setup' | |
#require 'lib/java' | |
#require 'rack/handler/glassfish' | |
set :run, false | |
set :public, './public' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Am getting the following error: | |
Modul(#36555780) expected, got String(#21132310) | |
After doing a lot of research on the net, i found that i need to pass | |
on the id field somehow, but i dont really know how to do it. | |
Following is the model: | |
--------------------------------- | |
class Modul < ActiveRecord::Base | |
belongs_to :modulable, :polymorphic => true |
NewerOlder