This file contains hidden or 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
source 'http://rubygems.org' | |
gem 'rails', '3.1.4' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem "rake", "0.8.7" | |
gem 'devise' | |
gem 'sunspot_rails', :git => 'https://github.com/sunspot/sunspot.git' |
This file contains hidden or 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
module Mmplus | |
module Resolvers | |
module Admin | |
class AdminResolver < ::ActionView::FileSystemResolver | |
def initialize | |
super("app/views") | |
end | |
def find_templates(name, prefix, partial, details) | |
super(name, "admin/shared", partial, details) |
This file contains hidden or 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
Ieri sono stato chiamato dal sysadmin del nostro server web (dove ospitiamo i siti dei nostri clienti) il quale mi ha detto che lo spazio sul nostro server e la relativa banda e è andata sotto il limite disponibile. | |
Vi starete chiedendo cosa implica tutto cio' , bene , provate ad accedere ad un qualsiasi sito di un nostro clliente, per esempio: | |
http://www.mmagnetto.com/ , oppure http://www.trabaldotogna.com/ oppure ancora http://www.awaredesign.eu/. | |
come potete notare.....NON VANNO!!! | |
volete sapere il motivo? |
This file contains hidden or 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
class Video < ActiveRecord::Base | |
attr_accessible :credits, :image, :link, :title, :video_category_id, :homepage, :client | |
belongs_to :video_category | |
before_validation :update_attributes_through_api | |
mount_uploader :image, ImageUploader | |
acts_as_list | |
def vimeo_url | |
return "http://vimeo.com/api/v2/video/#{self.link}.json" | |
end |
This file contains hidden or 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
require 'spec_helper' | |
describe ItemFaq do | |
pending "add some examples to (or delete) #{__FILE__}" | |
end |
OlderNewer