The Rails Documentation App - Rails-doc.org
Rails-doc is the Rails Documentation App (the first one that wasn’t developed by one guy in his underpants).
(tags: rails documentation api rubyonrails reference ruby programming document community)
The Big Bang Theory of Launching a Product
I wanted to share a few things we’re learning and preparing as we move towards a new [...]
My previous post on the Boing Boing controversy generated some pushback from readers who argue that deleting posts is changing history, and that bloggers just shouldn’t do it. (As I mentioned in the comments, I have never gone back and deleted old posts and don’t foresee doing so.)
I agree completely with the idea that deleting [...]
I’m sure Justin has tips on this one to add. Maybe he’ll chime in now that the Oracle blogs migration has ended; by the way, I’m really peeved that OraNA.info is clogged with reposts from Oracle blogs.
Not really, but it’s funny to me. Won’t someone please think of the children?
But I digress.
People frequently come to [...]
¿Hay sitio en el mercado para un agregador centrado en temas de ocio? Les cuento mi situación: en mi Bloglines (me sigo resistiendo a pasar al lado oscuro) tengo cienes de feeds mezclados: la mayoría son de temas profesionales, y un 25% aprox son personales, sobre música, u otros temas que no son profesionales, no [...]
Postgresql vs Mysql smackdown.: Experienced PostgreSQL DBA’s know to take advantage of its features here to protect themselves when doing complicated work like schema upgrades. If you put all such changes into a transaction block, you can make sure they all apply atomically or not at all. This drastically lowers the possibility that the database will be corrupted by a typo or other such error in the schema change, which is particularly important when you’re modifying multiple related tables where a mistake might destroy the relational key. There is no way to similar way to safely adjust multiple schema sections with MySQL.
Después de una larga ausencia de poco mas de 2 años he decidido regresar y tener un lugar donde expresarme.
Luego de haber pasado por PCenLinea -> PCDomino -> SoloComputo -> PCMexico y OCMexico y KnoIT.com perdí el interés por el hardware, mas bien perdí el interés por estar actualizando mi PC cada 3 meses, modificando, [...]
Matasano Chargen » Ruby’s Vulnerability Handling Debacle
Yes, that's a big problem. I still can't update a server where a Rails project is running on. Breaks everything. I am lucky it's only one project that is relying on Ruby.
MarsEdit has been awesome. I have never posted so many solutions to ruby on rails coding problems before. The desktop editor makes it so much easier to do so that I actually quite enjoy it. If you are having trouble motivating yourself to post blog entries (especially if you’re a programmer wishing to document your [...]
Понятно,раз никто ничего похожего не реализовывал, думаю забить до лучших времен, ибо разбираться в Жаве и копаться по ихним форумам не изучив нормально рельсы пока не хочу
Всем ответившим спасибо.
I needed a way to get stock quote data into my rails app. I decided to go with the yahoofinance gem.
1. install it: sudo gem install yahoofinance
2. require it in your environment file - for rails 2.1 do config.gem ‘yahoofinance’
3. Use the following code to add it to your database (make sure you have a [...]
I'm looking for job. I'm looking for remote job. I'm looking for Ruby/Ruby on Rails remote job. I'm looking for Ruby/Ruby on Rails remote job. I'm looking for Ruby/Ruby on Rails remote job in the company focused on the Rails projects. I'm looking for Ruby/Ruby on Rails remote job in the USA or Europe based company focused on the Rails projects. I'm looking for Ruby/Ruby on Rails remote job in the USA or Europe based company focused on the Rails projects with clear understanding of Rails advantages. I'm looking for Ruby/Ruby on Rails remote job in the USA or Europe based company focused on the Rails projects with clear understanding of Rails advantages like TDD, ActiveRecord, migrations, plugins.
Want to have this on your Blog? Click the embed code in the player! Coming at you live from 10am CST to 4p CST from the Tech Capital of the South, Austin, TX it's the Austin Tweetup Blood Drive! With...
Last month, I gave a talk at the Ruby on Rails Oceania (RORO) Sydney meeting about a charity that a good friend of mine is involved in, Crossroads. They’re based in Hong Kong, and began moving their systems to Rails earlier this year.
So I’ve acted as a facilitator in trying to get a few local [...]
We got the requirement to scan and upload the image to the web application. We have analyzed all the commercial twain solutions like DynamicWebTwain, csxImage,TwainControlX,TwainConnect, jTwain, JSane and others. Many of the commercial solutions are very costly. Finally, we picked up the DynamicWebTwain for the following reasons:
1) DynamSoft is a Microsoft Gold Certified Partner 2) Stable software 3) The customers of DynamicWebTwain include IBM, HP and LockHeed Martin 4) Compatible with IE, FireFox and Mozilla 5) Good Technical Support 6) Cheaper one 7) Supports basic image editing features including Rotate, Crop, Miror, Flip and Change Image size
We used Ruby on Rails for our web application. Since the DynamicWebTwain is the ActiveX objects, we simply embeded the ActiveX object using html object tag in the rhtml page. We called the object methods through javascript and uploaded the image to the URL. Here is the javascript code used by us to upload the image.
To the ROR developers, we used attachment_fu plugin to save the image in the file system. Here is the code for save_scanned_image action (See the above URL)
params.sanitize_keys! court_image = CourtImage.new(:uploaded_data => params[:RemoteFile],:court_id => params[:court_id] ) respond_to do format if court_image.save format.html{render :text=>"#{court_image.id}"}
court_image is the active_recod which has_one attachment
Plz note the below code where we are rendering back the court image id through response. We can receive the response in javascript where we called the URL to upload the image (see above). Here is the javascript code to get the response:
var court_image_id = frmScan.DynamicWebTwain1.HTTPPostResponseString;
Hope, this will help the ROR and other web application developers to integrate the scanner device to the web application. The scanner device should be connected to the client (browser) system.
I love the new Envy Code R font. It’s very clear and easy to read. I had looked at this font in the past and quite liked it. However, I need a somewhat larger font than its native size and previous releases of it did not scale very well. Fortunately, the new version (pr7) seems [...]
There are times that I wish our kids would learn to sleep in.
Get Started with Django - Webmonkey has the goods.
Pretty Blocks in Rails Views - Some ways to make your code more elegant.
ActionWebService is Back - And updated for Rails 2.1.0.
Cornerstone - New Subversion UI for OS X. (via TUAW)
Sometimes I need to compare a date field in my database to todays date. Ruby doesn’t have a Date class only Time with the method Time.now. To turn Time.now into a date, I now do the following thanks to Ruby convert Time to Date
Date.parse(Time.now.strftime('%Y/%m/%d'))
Also, here’s the Ruby Time class
?? apenas um helper para utilizar arquivos swf em seus projetos Rails atrav??s da lib SWFObject, que ?? quase que o padr??o para embutir swf em seus documentos html.
If you’ve followed this blog long enough, you should know we have a collection of some of the nicest Apple-themed wallpapers. In the process of getting these good ones, we too came across numerous bad designed wallpapers but we just don’t have time for them. If you are curious how bad some Apple-themed wallpapers really [...]
There are tons of things going on out there on the internet that I want to keep tabs on but for the most part it is impossible to keep up. And that’s OK.
I’m constantly evolving the way I keep up with things but lately this is how I’ve been doing it, with the key being [...]
So I upgraded WordPress to 2.5.1 today. I heard vague rumors a while ago about WordPress vulnerabilities, and while I don’t think I was actually vulnerable (the one I heard about was in the registration feature, which I had disabled), I figured it was time anyway. When I did, I looked around to [...]
“Tyson Homosexual easily won his semifinal for the 100 meters at the U.S. Olympic track and field trials and seemed to save something for the final later Sunday. — American Family Association’s OneNewsNow web siteThey have a script that replaces offending language automatically. Oops, time for a tweak.
I build web apps. Almost every one has a screen or two somewhere that shows a listing, and at the bottom it has pagination links, e.g. next page, page 3, etc. For a recent app I’ve been working on, the interface is very search-driven, i.e. the user enters some criteria the results are displayed.
As an [...]
Olá Meus Queridos Leitores.
Hoje vou falar de uma coisa que para maioria é besteira, mas para mim não foi. Sempre programei bastante no NetBeans e nunca antes havia debugado meu codigo. eu não fazia a minima ideia de como funcionava nele, o unico compilador que eu havia feito isso foi no Turbo-C .
Procurei no [...]
Caramba! hoje tive uma experiência no mínimo cansativa com um celular w230 da Motorola, por isso resolvi comentar sobre o episódio aqui.
Bem, o grande detalhe foi que um cunhado meu pediu pra transferir umas músicas para o tal celular e foi aí que tudo começou.
Pluguei o cabo no celular e quando pluguei no computador foi detectado como w230, até aí tudo normal, mas eu precisava que ele fosse reconhecido como USB Mass Storage pra facilitar minha vida, mas de cara não foi.
Ok, segunda tentativa, procurei em configurações do aparelho pra ver se existia essa opção (já que em alguns modelos de celular você opta por ela), também não achei nada.
Aí parti pra ignorância, fui ao google e dei uma pesquisada, mas não achei nada específico, só um vago comentário em um fórum que me deu uma luz, mas mesmo fazendo o que o camarada lá falava não funcionou... :(
Tá e agora? Bem, pensei, vou começar do zero.
Desliguei o aparelho, tirei a bateria e o chip micro SD, recoloquei tudo e liguei. Depois pluguei o aparelho na USB do computador e plim! :D Apareceu uma mensagem peguntando se eu queria conectar o aparelho na unidade de armazenamento, e eu claro que respondi SIM!
Pronto, dessa forma consegui enxergar o dispositivo como uma unidade normal... tranferi os arquivos que precisava e retirei o cabo USB, daí o aparelho pediu pra esperar ser reiniciado, tudo bem, foi rápido.
Após o aparelho reiniciar acessei o menu principal e cliquei em MULTIMÍDIA.
Tranquilo, logo em seguida acessei BIBLIOTECA DE MÚSICA
Mas infelizmente não vi os MP3 que eu tinha transferido. =/ Ok, então lembrei da dica do camarada do fórum, e então acessei com o BOTÃO DIRECIONAL DO MEIO a opção TROCAR DISPOSITIVO DE ARMAZENAMENTO e em seguida CARTÃO DE MEMÓRIA.
There are a few minor updates in this release, I fixed one bug in the calendar popup and have redesigned the form to use the screen real estate better.
Feature #710: Wrap all common elements in fieldsets
Feature #1223: Cleanup the Filter UI to not use as much screen space.
Unzip the file to your Redmine into vendor/plugins
Restart your Redmine
Git
Open a shell to your Redmine’s vendor/plugins/timesheet_plugin folder
Update your Git copy with git pull
Restart your Redmine
SVN
To migrate from the svn copy to the git copy you will need to remove the plugin and reinstall it. Just remove the vendor/plugins/timesheet_plugin directory and follow the directions below.
Install
If you are installing a fresh copy, follow these steps:
Download the plugin. There are three supported ways:
Login to your Redmine install as an Administrator.
Enable the “Run Timesheet” permissions for your Roles.
Add the “Timesheet module” to the enabled modules for your project.
The link to the plugin should appear on that project’s navigation.
What’s next
Since I don’t have the time to add a bunch of new features, I’m going to work with the Redmine core developers and try to migrate the Timesheet plugin’s features into the Redmine core.
Help
If you need help you can leave a comment here or enter an issue directly into my bug tracker.
Amazon.com: Playmobil Police Checkpoint (3906): Toys & Games
Great reviews
YouTube - Marine Boy
Best. Show. Evar.
Microsoft’s Plan B for Search
Congrats to Kevin Clark and the rest of the team.
(tags: powerset)
Semana passada estive no Gbarbosa aqui em Paulo Afonso - BA, fui comprar alguma coisa que não lembro agora e por acaso minha mulher viu um anúncio no panfleto do próprio Gbarbosa indicando um celular no preço de R$99,00, então como não vimos o famoso asterisco de letras miúdas e ela estava precisando urgente de um aparelho celular pra colocar seu segundo chip Oi (pois ela estava acabando com o celular atual de tanto trocar o chip) decidimos ir à "moça" da seção de aparelhos celulares, que por acaso é um quiosque da Oi.
Pois bem, até aí tudo normal, até perguntarmos o valor do aparelho que estava no panfleto e ela responder que custava R$119,00... ué? e no panfleto está R$99,00?... é mas tem mais R$20,00 do chip Srta... Mas eu não quero o chip, apenas o aparelho... Mas não pode Srta, só vendemos com o chip... Ok!
Procuramos o gerente, e pra sorte nossa ele não estava... tudo bem, procuramos alguém que pudesse responder e uma Srta lá disse a mesma história... Só vendemos aparelhos com chip.... Tá, tudo bem, e esse panfleto com esse preço? ... Há... é que esqueceram de colocar o preço, mas só vendemos aparelhos com chip.
Que coisa hein, tudo bem, sem ter a quem recorrer (pq aqui não temos PROCON ou coisa parecida) fomos ao caixa e compramos o aparelho com um chip de brinde, e o mais curioso é que ao passar no caixa a garota falou a mesma história, "só vendemos com chip"... ok...
Agora o mais interessante, quando pagamos recebemos dois cupons fiscais, um no valor de R$99,00 referente ao aparelho e outra de R$20,00 referente ao chip.... ué? eu só comprei o aparelho, não? Isso não seria venda casada não? não é proibido? =/
Vai entender? Besta fui eu quem comprou o aparelho.
E ainda dizem que o cliente sempre tem razão... Quer dizer, acho que entendi, o Gbarbosa dá o espaço a Oi pra vender os aparelhos dentro de seu recinto, mas pra Oi ganhar alguma coisa já que o aparelho é do Gbarbosa ela vende o chip "na tora" pro cliente...
Sei lá... não estou entendendo mais nada... Se alguém sabe como é essa treta me deixa um recado aí...
Bruce Billson said Mr Conroy's decision to cancel the Howard government's $1 billion regional broadband deal in April effectively scrapped a planned introduction of an extra, open-access cable between Victoria and Tasmania.
Run the nginx_test.sh script to start Nginx, the Cacher, and the test app server.
This is how I intend people to interface the Cacher with Nginx. Similar to using memcached but here on filters by an number of parameters, not just URLs.
Yesterday, whilst being distracted by a phone call as I got in to me car, I did what we all dread doing - I left my EeePC on the top of my car as I drove away. I noticed that something was a miss a few streets away from me house, and promptly (after having [...]
Disclaimer: This is a publicly accessible database. The views and opinions of originators and contributors expressed on this site do not necessarily state or reflect those of DSC Limited. No representation or warranty is given as regards to any applicability of any suggestion, its accuracy or completeness.